Hello, I have been using [URL=”http://ejohn.org/blog/javascript-micro-templating/”]John Resig’s micro-templating
I tried to wrap the code within CDATA tags, change the markers ( ie <,> to [[,]] ) to no avail except for one browser. Strangely enough, removing CDATA tags from the script template via Regex or substituting brackets works in FF 3+ but not in IE 7+, Chrome, Opera 9+, Safari 4, etc.
Is there a way to make Resig’s template implementation XHTML compliant or should I switch to a different approach? TIA.