-
-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
to_text and Loofah::Helpers #75
Comments
+1: was using to_text, not working in my env |
Hi, best |
Confirmed the issue, apologies for not responding more quickly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
is is possible that the removal to automatically load Loofah::Helpers
breaks to_text?
irb
require 'loofah'
Loofah.fragment("abc").to_text
NameError: uninitialized constant Loofah::Helpers
OTOH Loofah.fragment("abc").to_s works.
Or is to_text considered part of the ActionView helpers?
Feels a bit strange. And: the to_text method itself is there.
best
Morus
The text was updated successfully, but these errors were encountered: