title: Should whitespace in the markup in a cshtml file be meaningful?
body: <p>I'm seeing some strange behavior while trying to add a basic markup for a login form in an ASP.Net MVC 4 project. Here's the portion of my cshtml file in question:</p>
  
  <pre><code>&lt;form class="navbar-form pull-right"&gt;
      &lt;input type="text" placeholder="Email" class="span2" /&gt;
      &lt;input type="password" placeholder="Password" class="span2" /&gt;
      &lt;button class="btn" type="submit"&gt;Sign in&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>That markup renders great in my theme:</p>
  
  <p><img src="https://i.stack.imgur.com/zXGiu.png" alt="enter image description here"></p>
  
  <p>However, if I change it to this:</p>
  
  <pre><code>&lt;form class="navbar-form pull-right"&gt;
      &lt;input type="text" placeholder="Email" class="span2" /&gt;&lt;input type="password" placeholder="Password" class="span2" /&gt;
      &lt;button class="btn" type="submit"&gt;Sign in&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>It starts rendering like this:</p>
  
  <p><img src="https://i.stack.imgur.com/jdYqL.png" alt="enter image description here"></p>
  
  <p>I noticed this because I was trying to take a simple form from a foundational theme and implement it with <code>Html.BeginForm()</code>. This results in markup that's all on one line though, so I'm seeing that squeezed look.</p>
  
  <p>I can probably just correct it with some css, but I'm curious if anyone knows why I'm seeing this behavior. Any ideas? </p>