I have this div:
<div id="test">
{{? a && b || c < 0}}
<div>Pece &alt; Love!</div>
{{?}}
</div>
I neet do get its content just like it's reported above (che curly braces syntax is for a template engine).
Unfortunately, neither .html() nor .text() work:
// $('#test').text()
{{? a && b || c < 0}}
Pece &alt; Love!
{{?}}
.text() gets rid of tags
// $('#test').html()
{{? a && b || c < 0 }}
<div>Pece &alt; Love!</div>
{{?}}
.html() encodes the ampersands (and < >).
Any help? Thanks