creationix / haml-js

Haml ported to server-side Javascript. This is a traditional server-side templating language. Tested with node-js
MIT License
902 stars 110 forks source link

Possibility to always prevent HTMLescaping #84

Open aop opened 10 years ago

aop commented 10 years ago

Hi,

I'm writing haml with some PHP in it to create dynamic html but at least on linux the behaviour is that <? will get compiled to <

Would be nice if an option escape_html would be added instead just the escapebydefault which is pretty ambiguous...