URGENT!!! Jquery Jtemplate with line breaks
i don´t know if this is possible but i want to display
sample code Line1
Line2
Line3 end
but i'm receiving a
sample code Line1<br>Line2<br>Line3 end
Here is my simple sample code:
var mydata = { name: 'Line1<br>Line2<br>Line3', age: '20' };
$("#result").setTemplate("sample code {$T.name} end");
$("#result").processTemplate(mydata).html();
Any help would be appreciated.