gjtorikian / html-pipeline

HTML processing filters and utilities
MIT License
2.26k stars 380 forks source link

Prevent exception #395

Closed ppworks closed 5 months ago

ppworks commented 5 months ago

Example

HTMLPipeline::SanitizationFilter
uninitialized constant HTMLPipeline::SanitizationFilter::Selma (NameError)
gjtorikian commented 5 months ago

Oh interesting. I think this was the result of always having selma included in the node filter: https://github.com/gjtorikian/html-pipeline/blob/7e562219f9814777b73b48f32aece874452c0c5e/lib/html_pipeline/node_filter.rb#L3

But of course the pipeline arms can be run independently of each other so it's possible selma never got loaded from there. In any event, thanks!