title: My viewdata spits out HTML,
body: <p>For some reason my ViewData outputs HTML code even though I don't want it do. 
  This is what it </p>
  
  <pre><code>&lt;br /&gt;&lt;a href="javascript:SetDate('2015-04-01');"&gt;2015-04-01&lt;/a&gt;
  &lt;br /&gt;&lt;a href="javascript:SetDate('2015-04-02');"&gt;2015-04-02&lt;/a&gt;
  &lt;br /&gt;&lt;a href="javascript:SetDate('2015-04-07');"&gt;2015-04-07&lt;/a&gt;
  &lt;br /&gt;&lt;a href="javascript:SetDate('2015-04-08');"&gt;2015-04-08&lt;/a&gt;
  &lt;br /&gt;&lt;a href="javascript:SetDate('2015-04-09');"&gt;2015-04-09&lt;/a&gt;
  &lt;br /&gt;&lt;a href="javascript:SetDate('2015-04-10');"&gt;2015-04-10&lt;/a&gt;
  </code></pre>
  
  <p>but I just want it to look like this</p>
  
  <pre><code>Du har ej rapporterat tid följande dagar:
  2015-04-01
  2015-04-02
  2015-04-07
  2015-04-08
  2015-04-09
  2015-04-10
  </code></pre>
  
  <p>This is part of my controller:</p>
  
  <pre><code>            var missingdays = new DatabaseLayer().GetConsultantMissingDays(Constants.CurrentUser(User.Identity.Name));
          if (missingdays.Count == 0)
          {
              ViewData["missingDays"] = "";
          }
          else
              ViewData["missingDays"] = "Du har ej rapporterat tid följande dagar:&lt;br /&gt;" +
                                        string.Join("&lt;br /&gt;", missingdays.Select(x =&gt; x.ToMissingDateJavascript()));
  
          ViewData.Model = projectData;
  
          return View();
      }
  </code></pre>
  
  <p>And this is from my view: </p>
  
  <pre><code>&lt;div&gt;
      @ViewData["missingDays"]
      @Html.ValidationSummary()
  &lt;/div&gt;
  </code></pre>
  
  <p>and my Extensions</p>
  
  <pre><code>        public static string ToMissingDateJavascript(this DateTime value) {
          string dateString = value.ToString("yyyy-MM-dd");
          return "&lt;a href=\"javascript:SetDate('" + dateString + "');\"&gt;" + dateString + "&lt;/a&gt;";
      }        
  
      public static bool IsWeekend(this DateTime value) {
          return value.DayOfWeek == DayOfWeek.Saturday || value.DayOfWeek == DayOfWeek.Sunday;
      }
  </code></pre>
  
  <p>But I see the HTML code in the browser
  <img src="https://i.stack.imgur.com/iwB28.png" alt="enter image description here"></p>