title: Xamarin Forms app not loading spaces when rebuild
body: <p>Heyho developers,</p>
  <p>I'm experiencing an interesting problem with my <strong>Xamarin.Forms Android</strong> application.</p>
  <p>My <strong>XAML</strong> looks like this:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;Label&gt;
      &lt;Label.FormattedText&gt;
          &lt;FormattedString&gt;
              &lt;Span TextColor=&quot;red&quot;&gt;This sentence contains&amp;#160;&lt;/Span&gt;
              &lt;Span FontAttributes=&quot;Bold&quot;&gt;a whole lot of&amp;#160;&lt;/Span&gt;
              &lt;Span TextDecorations=&quot;Underline&quot;&gt;formatted strings!&lt;/Span&gt;
          &lt;/FormattedString&gt;
      &lt;/Label.FormattedText&gt;
  &lt;/Label&gt;
  </code></pre>
  <p>As you see, I've solved the problem of <strong>XAML</strong> ignoring spaces in front of end <em><strong>tags</strong></em> by simply using the <strong>Unicode</strong> value of <code>&amp;#160;</code>.</p>
  <p>The problem here is, once I rebuild the whole application (it works via <em><strong>Hot Reload</strong></em> while it's running) these spaces are being ignored. It keeps producing the output:</p>
  <pre><code>This sentence containsa whole lot offormated strings!
  </code></pre>
  <p>Using <code>xml:space=&quot;preserve&quot;</code> didn't have any effect on that, furthermore this led to another error.</p>
  <p>Hope you got any ideas on how to solve this.</p>
  <p>Thanks in advance!</p>