title: How to dump html string into a python twisted template
body: <p>I'm making a website using twisted.web.template, where multiple pages have sub-windows with identical html code. So I want to use templates, and just dump a complete html string into place holders, wherever there is identical code. But it the twisted templating system quotes these strings (partly for security reasons it seems), so the browser can't interpret it as html. Is there any way of getting around this? It seems like a pretty normal use scenario, and is one of the basic uses of php with apache in my experience...</p>
  
  <p>Some sample code. My template looks like this</p>
  
  <pre><code>&lt;html xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1"&gt;
      &lt;body&gt;
          &lt;div t:render="content" /&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and my rendering class in python</p>
  
  <pre><code>class ExampleElement(Element):
      loader = XMLFile(FilePath('template.xml'))
  
      @renderer
      def content(self, request, tag):
          return tag('&lt;b&gt;This content should be in bold, but is quoted&lt;/b&gt;')
  </code></pre>
  
  <p>I know for the last line I could write (with appropriate import)</p>
  
  <pre><code>return tag(tags.b('Bold content'))
  </code></pre>
  
  <p>but the html strings I actually want to put in are a lot bigger, and it's inconvenient having to write it like this, rather than just a single raw html string</p>