<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: daniel-martin</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/daniel-martin.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2007-04-15T20:28:48+00:00</updated><author><name>Simon Willison</name></author><entry><title>Most HTML templating languages are written incorrectly</title><link href="https://simonwillison.net/2007/Apr/15/default/#atom-tag" rel="alternate"/><published>2007-04-15T20:28:48+00:00</published><updated>2007-04-15T20:28:48+00:00</updated><id>https://simonwillison.net/2007/Apr/15/default/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://dtm.livejournal.com/33960.html"&gt;Most HTML templating languages are written incorrectly&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
“If you ever find yourself in the position of designing an html template language, please make the default behavior when including variables be to HTML-escape them.” I couldn’t agree more.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/daniel-martin"&gt;daniel-martin&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/security"&gt;security&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/templating"&gt;templating&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xss"&gt;xss&lt;/a&gt;&lt;/p&gt;



</summary><category term="daniel-martin"/><category term="security"/><category term="templating"/><category term="xss"/></entry></feed>