title: Styling Open-Ended Text Inputs
body: <p>What's the best / recommended practice to treat a text input that contains HTML tags? The idea is to properly display the input e.g. on a different page.</p>
  
  <p>As expected, people can be very creative with their HTML. For example:</p>
  
  <pre><code>&lt;p&gt;...&lt;/p&gt;
  &lt;ul&gt;&lt;li&gt;...&lt;/li&gt;&lt;/ul&gt;
  </code></pre>
  
  <p>Another example:</p>
  
  <pre><code>&lt;h1&gt;...&lt;/h1&gt;
  </code></pre>
  
  <p>A more challenging case will be an input without a properly structured HTML e.g. <code>&lt;h1&gt;Hello&lt;/p&gt;&lt;/h1&gt;</code>. Without proper care, this has the potential to break the whole page layout.</p>
  
  <p>One thing I could think of is to completely strip down the tags. However, there might be a much better way. To the very least, I'd like to be able to place a proper spacing / margin between the paragraphs; instead of just collapsing them together.</p>