I have this code in xslt,
<xsl:template match="/">
// some truncated js code here
for (var i=0 ; i < arrIdentifiers.length ; i++) {
$("#list").append('<li class="ui-widget-content"><span class="sort-handle">☰</span>'+arrIdentifiers[i]+'</li>');
}
// some truncated js code here
</xsl:template>
for some reason the the output is breaking to new line (see how span is in new line)
this is causing a JS Error..
for (var i=0 ; i < arrIdentifiers.length ; i++) {
$("#list").append('<li class="ui-widget-content">
<span class="sort-handle">☰</span>'+arrIdentifiers[i]+'</li>');
}
anyway I can instruct the template not to process the internal html?