I have JavaScript in my template file, because of the smarty can't include the file and I have W3C problem validation:
addMarker({$item->lat}, {$item->lng}, '<div style="height: 280px;">dfdsfsd</div>');
Error element not allowed.
Is there a way to escape it somehow?