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
Having text with encoded \r makes problems with transforming it using for example textile rails helper - it stop produce paragraphs. (Rails use RedCloth for it) example:
Currently when we santize (using rails strip_tags helper for example) text it encode \r chars. For example
We should pass encode_special_chars: false to Loofah.fragment.text method to avoid it.
Having text with encoded \r makes problems with transforming it using for example textile rails helper - it stop produce paragraphs. (Rails use RedCloth for it) example:
By the way sanitize from Rails::Html::WhiteListSanitizer don't encode special chars :)
The text was updated successfully, but these errors were encountered: