Maybe call .html_safe on the string? (of course, you're gonna want to be *really* sure it's actually html safe)
:brad On Tue, Apr 19, 2011 at 12:43 PM, Les Nightingill <codehac...@comcast.net>wrote: > I have a view helper that I invoke from my haml view with: > - text_field_with_clear_button(object, method) > > in application_helper.rb: > > def text_field_with_clear_button(*args) > haml_tag :script, "...javascript snippet" > haml_tag :table do > ..etc... > end > end > > The javascript snippet includes a ">", and this is being escaped as an > html entity > > > Any idea how I can circumvent the html escaping, so that the ">" > properly appears in my js? > > thanks in advance for any ideas > > Les > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to haml@googlegroups.com. > To unsubscribe from this group, send email to > haml+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- Bradley Grzesiak co-founder, bendyworks llc http://bendyworks.com/ -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to haml@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.