: link. Newer browsers would allow you to escape the double quotes, but older ones will just boff the HTML parsing.
Originally posted by Algorithm
After looking over your code, I found a number of things that could be improved upon, so I tinkered with it. Hope you don't mind!
I removed the global templates (improving interoperability), updated the syntax to meet XHTML standards, removed that annoying 'empty string' bug, and squeezed the filesize down to 1.4KB.
This is a great concept, and I can definitely see myself using this in the future. Thanks!