title: twitter bootstrap popovers for R shiny app - html is interpreted as text content - why?
body: <p>I want to add popovers from the twitter bootstrap framework to a shiny app. Everything works fine, except
   that the <code>html: true</code> tag does not have an effect:</p>
  
  <pre><code>shinyUI(pageWithSidebar(
  
    headerPanel("Header"),
  
    sidebarPanel(
      actionButton("btn-1", "Go!")
    ),
  
    mainPanel(
      tags$head(
        tags$script('
        $(document).ready(function(){
           $("#btn-1")
                    .popover({html: true, 
                              title: "Button 1", 
                              content: "&lt;h1&gt;Press&lt;/h1&gt; for some action", 
                              trigger: "hover"
                    });
            });   
        ')
      )
    )
  ))
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/NVs4N.png" alt="enter image description here"></p>
  
  <p>The same code as pure HTML / JS (without the shiny part) just works fine:</p>
  
  <pre><code>&lt;script&gt;
      $(document).ready(function(){
               $("#btn-1")
                  .popover({html: true, 
                            title: "Button 1", 
                            content: "&lt;h1&gt;Press&lt;/h1&gt; for some action",
                            trigger: "hover",
                            delay: {show: 100, hide: 100} 
                  });
  
      }); 
  &lt;/script&gt;
  
  &lt;button id="btn-1" type="submit" class="btn"&gt;Submit&lt;/button&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/Km08K.png" alt="enter image description here"></p>
  
  <p>Any ideas? I am not too familiar with the bootstrap framework, but may it have to do with the version that is included by shiny?</p>