You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing an instance of the TextFilter class to the text_filters option as per the sample code, it results in a wrong number of arguments (given 2, expected 1) error.
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.
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
html-pipeline/lib/html_pipeline.rb
Line 213 in e1328b4
The text was updated successfully, but these errors were encountered: