auto-correct plugin for html-pipeline.
Add this line to your application’s Gemfile:
gem "html-pipeline"
gem "html-pipeline-auto-correct"
You can add HTML::Pipeline::AutoCorrectFilter
into your pipeline like this:
pipeline = HTML::Pipeline.new [
HTML::Pipeline::MarkdownFilter,
HTML::Pipeline::AutoCorrectFilter,
]
result = pipeline.call(text)
The gem is available as open source under the terms of the MIT License.