How to avoid validator error for HTML script tag containing markup (in JavaScript template) -
i came across javasciprt templating system.
here simple article : http://blog.reybango.com/2010/07/09/not-using-jquery-javascript-templates-youre-really-missing-out/
digging in topic, found several other javascript template engines. haven't found information how deal validation errors.
the errors mean are: using markup in mentioned in article cited above, have html fragment this:
<script id="clienttemplate" type="text/html"> <li><a href="clients/${id}">${name}</a></li> </script>
when check validator, errors end tag element not open
, etc.
is there way suppress errors?
Comments
Post a Comment