machty / emblem.js

Emblem.js - Ember-friendly, indented syntax alternative for Handlebars.js
http://emblemjs.com
MIT License
1.04k stars 81 forks source link

Inline HTML is not escaped #202

Closed angelbotto closed 9 years ago

angelbotto commented 9 years ago

captura de pantalla 2015-02-26 a las 1 11 45 p m

Using html in a .emblem file, is not escaped and could be seen as a problem.

bantic commented 9 years ago

@angelbotto it doesn't appear to be explicitly documented in the docs, but inline raw HTML is supported. It is specifically tested for in the emblem tests here: https://github.com/machty/emblem.js/blob/master/test/qunit_spec.coffee#L460-L475

Please re-open if I misunderstood.