AutoCorrect for html-pipeline
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:
into your pipeline like this::AutoCorrectFilter
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.