title: MVC 3 Razor view renders different on hosting environment than locally
body: <p>I have created an MVC 3 view, just by adding a controller and scaffold it by usage of entity framework. </p>
  
  <p>See below view:</p>
  
  <pre><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;th&gt;
              MetaType
          &lt;/th&gt;
          &lt;th&gt;
              Value
          &lt;/th&gt;
          &lt;th&gt;
              Page
          &lt;/th&gt;
          &lt;th&gt;&lt;/th&gt;
      &lt;/tr&gt;
  
  @foreach (var item in Model) {
      &lt;tr&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.MetaType)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.Value)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.Page.Title)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.ActionLink("Edit", "Edit", new { id=item.Id }) |
              @Html.ActionLink("Details", "Details", new { id=item.Id }) |
              @Html.ActionLink("Delete", "Delete", new { id=item.Id })
          &lt;/td&gt;
      &lt;/tr&gt;
  }
  
  &lt;/table&gt;
  </code></pre>
  
  <p>When I open the view on my dev machine than the html produced is just as expected:</p>
  
  <pre><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;th&gt;
              MetaType
          &lt;/th&gt;
          &lt;th&gt;
              Value
          &lt;/th&gt;
          &lt;th&gt;
              Page
          &lt;/th&gt;
          &lt;th&gt;&lt;/th&gt;
      &lt;/tr&gt;
  
      &lt;tr&gt;
          &lt;td&gt;
              Keywords
          &lt;/td&gt;
          &lt;td&gt;
              bla, bla bla,
          &lt;/td&gt;
          &lt;td&gt;
              Home
          &lt;/td&gt;
          &lt;td&gt;
              &lt;a href="/Admin/metainformation/Edit/1"&gt;Edit&lt;/a&gt; |
              &lt;a href="/Admin/metainformation/Details/1"&gt;Details&lt;/a&gt; |
              &lt;a href="/Admin/metainformation/Delete/1"&gt;Delete&lt;/a&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  </code></pre>
  
  <p>On our hosting environment it's rendered with on almost every row an extra whiteline.</p>
  
  <pre><code>&lt;table&gt;
  
  &lt;tr&gt;
  
  &lt;th&gt;MetaType&lt;/th&gt;
  
  &lt;th&gt;Value&lt;/th&gt;
  
  &lt;th&gt;Page&lt;/th&gt;
  
  &lt;th&gt;&lt;/th&gt;
  
  &lt;/tr&gt;
  
  &lt;tr&gt;
  
  &lt;td&gt;Keywords&lt;/td&gt;
  
  &lt;td&gt;values, values, values.&lt;/td&gt;
  
  &lt;td&gt;Home&lt;/td&gt;
  
  &lt;td&gt;&lt;a href="/Admin/metaInformation/Edit/1"&gt;Edit&lt;/a&gt; | &lt;a href="/Admin/metaInformation/Delete/1"&gt;Delete&lt;/a&gt;&lt;/td&gt;
  
  &lt;/tr&gt;
  </code></pre>
  
  <p>Anyone has an idea why there is a difference, and how to resolve this extra whitespace?</p>
  
  <p><strong>UPDATE</strong>
  It seems like only this page is having this issue. Other pages just have a normal html layout as expected. I also have checked the data from the database, but can't find anything unusual or different than the other pages.</p>
  
  <p>I have also tried to regenerate the file and upload it again, but also no luck. I'm a bit out of options on this issue.</p>