Header_image
Jeremy Walker

Software Developer & Social Entrepreneur

Allow escape_attrs on a per tag basis in HAML

I've sent a pull request that allows escape_attrs to be overridden on a per tag basis. This is especially useful for me in using Backbone templates in a certain section of my app, that requires escape_attrs to be set to false, but where I want the rest to be set to true as normal.

My HAML fork is at https://github.com/ihid/haml
The pull request is at https://github.com/nex3/haml/pull/483

I'll update this if it gets accepted.

Share This Post

Comments

No-one has posted a comment yet. Be the first!

Post a Comment

I'd love to hear your thoughts :)