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 -~----------~----~----~----~------~----~------~--~---
