Right... isn't h() short enough? You could even leave out the parens. Sean
Russell Norris wrote: > I can't imagine this isn't going to bite you in the arse later though, > when you use a html-generating helper and get it html-escaped. YMMV > > RSL > > On Nov 14, 2007 7:59 PM, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote: > >> This isn't built in, but it shouldn't be too hard to hack in. Check out >> Haml::Engine#process_line and Haml::Engine#push_script. >> >> >> Steve wrote: >> >>> Is there a way to default the '=' operator in HAML to default to calling >>> 'h()' before outputting so that content is default escaped? I'd rather >>> have to manually indicate that the code being output should not be >>> escaped. If the HAML engine parses the string as it comes to it, could >>> there be a special operator that would indicate output non-escaped? '=*' >>> or something. Is there maybe a plugin out there for this already? >>> >>> Thanks, >>> Steve >>> >>> >>> >>> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
