title: Kendo PanelBar HTML string as Content
body: <p>I am implementing a view where there are tabs (Kendo TabStrip) and inside these tabs are some accordion items (Kendo PanelBar).
  I dinamically draw the tabs using a foreach, and in each tab, I also use a foreach to draw the accordion. The thing is that, the content of each accordion item is a HTML string (like: <code>&lt;p&gt;Some &lt;strong&gt;text&lt;/strong&gt;&lt;/p&gt;</code>).
  In chrome all work fine, but with IE8 everything goes out (because the page HTML mixes with the string HTML).</p>
  
  <p>This is my code:</p>
  
  <pre><code>@(Html.Kendo().TabStrip()
            .Name("tabAyuda")
            .HtmlAttributes(new { style = "" })
            .Animation(false)
            .SelectedIndex(0)
            .Items(tabAyuda =&gt;
            {
                  foreach (KeyValuePair&lt;string, IList&lt;ElementoAyuda&gt;&gt; accion in Model)
                  {
                      if (!string.IsNullOrWhiteSpace(accion.Key))
                      {
                          tabAyuda.Add().Text(accion.Key)
                              .Content(@&lt;text&gt;
                                  @(Html.Kendo().PanelBar()
                                      .Name("panelbar" + accion.Key)
                                      .ExpandMode(PanelBarExpandMode.Single)
                                      .Items(panelbar =&gt;
                                      {
                                          foreach (ElementoAyuda elemento in accion.Value)
                                          {
                                              panelbar.Add()
                                                  .Text(elemento.Head)
                                                  .Content(elemento.Detail);
                                          }
                                      })
                                          )
                              &lt;/text&gt;); 
                      }
                  }
            })
            )
  </code></pre>
  
  <p>I've also tried with this code inside .Content:</p>
  
  <pre><code>.Content(@&lt;text&gt;                                                    
  @Html.Raw(elemento.Detail)
  &lt;/text&gt;)
  </code></pre>
  
  <p>But I get this error: Custom tool error: <code>Inline markup blocks (@&lt;p&gt;Content&lt;/p&gt;) cannot be nested. Only one level of inline markup is allowed.</code></p>
  
  <p>Any advice??</p>
  
  <p>Thanks in advance!</p>