title: How can I preserve white spaces between tags with Diazo?
body: <p>I'm creating a simple Diazo theme.</p>
  
  <p>The <code>rules.xml</code> is something like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;rules
      xmlns="http://namespaces.plone.org/diazo"
      xmlns:css="http://namespaces.plone.org/diazo/css"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
  
      &lt;theme href="index.html"/&gt;
  
      &lt;replace css:content="#form-1" css:theme="#form-1" /&gt;
  
  &lt;/rules&gt;
  </code></pre>
  
  <p>And in a content file, there's the following lines:</p>
  
  <pre><code>...
  &lt;div id="form-1"&gt;
      &lt;form action="..."&gt;
          &lt;input type="text" id="name" /&gt;
          &lt;input type="submit" value="ok" /&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  ....
  </code></pre>
  
  <p>I expected that these lines were replicated exactly in the same way in the output html. However, they became like this:</p>
  
  <pre><code>&lt;div id="form-1"&gt;
      &lt;form action="..."&gt;
          &lt;input type="text" id="name" /&gt;&lt;input type="submit" value="ok" /&gt;&lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>That is, every time I have an empty html tag, like <code>&lt;input ... /&gt;</code> or <code>&lt;br /&gt;</code>, the white space between it and the next tag is removed.</p>
  
  <p>I've tried to modify this behaviour using <code>&lt;xsl:output&gt;</code> and <code>&lt;xsl:preserve-space&gt;</code> options, without success.</p>
  
  <p>What can I do?</p>