I am trying to add tooltips/popovers for a Shiny application, and use this question as example Add Tooltip to Tabs in Shiny
The problem is I can't use HTML() to modify the title. I need to have a line break <br>between lines, and text with bold, color. Normally it worked for all of titles I used except this one.
Any thoughts?
library(shiny)
shinyApp(
  ui =
    navbarPage(tabsetPanel(
      tabPanel(span("Tab 1", title = HTML(
          "<span style='color: red;font-weight:bold;text-decoration: underline;'>Test</span>
           <span style='font-weight:bold;color:black;'> File</span> <br>'Another test'"
        )
       )),
      tabPanel("Tab 2"),
      tabPanel("Tab 3"),
      
    )),
  server = function(input, output) {
    
  }
)