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
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:
Hi,
in case that's unclear: you just have to explicitly
require 'loofah/helpers'
to make it work again.
But I do not consider that a fix, it's just a workaround.
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: