title: CSS flex box last space removed
body: <p>By setting the <code>display</code> of an item to <code>flex</code> I am finding the last space is removed from a text string so.</p>
  
  <pre><code>&lt;div class="has_flex"&gt; Some text &lt;a href="link"&gt;Link&lt;/a&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Becomes</p>
  
  <pre><code>&lt;div class="has_flex"&gt; Some text&lt;a href="link"&gt;Link&lt;/a&gt;&lt;/div&gt;
  </code></pre>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.has_flex {
    display: flex;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="no__flex"&gt;Some text &lt;a href="link"&gt;Link&lt;/a&gt;&lt;/div&gt;
  &lt;div class="has_flex"&gt;Some text &lt;a href="link"&gt;Link&lt;/a&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I have wrapped the text in a span and that makes no difference.</p>