Displaying 2 results from an estimated 2 matches for "safe_html".
2011 May 13
2
Rails 3 Forces HTML Escape of Forms
I have a legacy application I ported from Rails 2.x. I found that the
escaping was occurring where it shouldn''t, like in creation of forms,
and I couldn''t turn it off. I found two mechanisms that should have
disabled it, a function safe_html, which is supposed to mark a string
as not needing to be escaped. The other is raw, which similarly
indicates that a string should be output in its raw form, even if it''s
not safe HTML. Neither of these mechanisms seem to function for me.
Anyone know of something I might have done to muck...
2011 Jan 23
2
RedCloth 4.1.1 vs. 4.2.3 - weird behaviour with notextile
...(@test)"
(example 3b in the index) I loose the <notextile> tags.
In the show view I directly feed the @article.body "sanitize
textilize(coderay_dressed(@article.body))" this works too.
Why the difference with using a self-assigned variable and how to fix it?
(I tried @test.safe_html with no success).
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-t...