bem / bem-xjst

bem-xjst (eXtensible JavaScript Templates): declarative template engine for the browser and server
https://bem.github.io/bem-xjst
Other
116 stars 48 forks source link

BEMHTML: should properly render unescaped html field if `tag:false` present #312

Closed miripiruni closed 8 years ago

miripiruni commented 8 years ago

BEMJSON:

{
    tag: false,
    html: '<script>console.log("hello html");</script>'
}

The result should be:

<script>console.log("hello html");</script>

Current result:

'[object Object]'
qfox commented 8 years ago

Sad thing ;-(