title: {strip}: how to avoid unintended whitespace removal?
body: <pre><code>{strip}
  &lt;div
       class="x"
  &gt;
  {/strip}
  </code></pre>
  
  <p>becomes</p>
  
  <pre><code>&lt;divclass="x"&gt;
  </code></pre>
  
  <p>And that is not what anyone would want.</p>
  
  <p>So, the question: is there any way to avod this? Imagined approaches:</p>
  
  <ul>
  <li>replace new lines by spaces, using parameters or other smarty-functions</li>
  <li>add protected spaces that are not stripped/trimed</li>
  </ul>
  
  <p><a href="http://www.smarty.net/forums/viewtopic.php?p=41452" rel="nofollow">This topic</a> on their forum doesn't have a solution, (other than - add your own custom tag). Also, please don't offer solutions in raw PHP or any other languages / frameworks.</p>