Closed aki77 closed 7 months ago
Which version of html-pipeline
is this? Recently there was a change to this exact behavior—the latest version is 3.1.0. Could you try your example with that?
Thank you for your response. I'm using 3.1.0. The issue arises because although keyword arguments are being passed to the call method, the TextFilter class's call method only accepts the text argument.
Gah, thank you for noticing that. 3.1.1 is released, fixing this.
When passing an instance of the
TextFilter
class to thetext_filters
option as per the sample code, it results in awrong number of arguments (given 2, expected 1)
error.Steps to Reproduce
Workaround
Additional Information https://github.com/gjtorikian/html-pipeline/blob/e1328b4763dd56a83abaa1746ba8555e0e80ec04/lib/html_pipeline.rb#L213