title: HTML/Razor setting up class for div via variable results in wrong class
body: <p>In my MVC view razor page I have this code:</p>
  
  <pre><code>@if (TempData["notice"] != null)
  {
    var clss = string.Concat("alert ", (TempData["noticeClass"]).ToString(), " alert-dismissible");
    &lt;div class=@clss role="alert"&gt;
      &lt;button type="button" class="close" data-dismiss="alert" aria-label="Close"&gt;&lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;&lt;/button&gt;
      &lt;h3&gt;@TempData["notice"]&lt;/h3&gt;
    &lt;/div&gt;
  }
  </code></pre>
  
  <p>The idea is that I can set the color of the bootstrap alert in the controller together with the message.
  For example TempData["NoticeClass"] is set to "alert-success".</p>
  
  <p>If I put a break on the line with 'var clss =' then I can see that the clss variable is build correctly.
  It shows:</p>
  
  <blockquote>
    <p>"alert alert-success alert-dismissible"</p>
  </blockquote>
  
  <p>But when I run the page and inspect it I get to see this:</p>
  
  <pre><code>&lt;div class="alert" alert-success="" alert-dismissible="" role="alert"&gt;
  &lt;button type="button" class="close" data-dismiss="alert" aria-label="Close"&gt;&lt;span aria-hidden="true"&gt;×&lt;/span&gt;&lt;/button&gt;
  &lt;h3&gt;The email address 'blabla@bla.com' has been updated.&lt;/h3&gt;
  </code></pre>
  
  <p></p>
  
  <p>As you can see the class for the div is set only to the first part.
  Did I just find a bug in Visual Studio 2015 or is this intended and I am doing something wrong??</p>