Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot overwrite <title></title> #197

Closed
cinkie opened this issue Mar 15, 2017 · 1 comment
Closed

Cannot overwrite <title></title> #197

cinkie opened this issue Mar 15, 2017 · 1 comment

Comments

@cinkie
Copy link

cinkie commented Mar 15, 2017

When using use tags$head(tags$title('myTitle')) under dashboardBody function, the HTML webpage output is

<head>
<title></title>
<title>myTitle</title>
</head>

A mini example from @bborgesr

library(shiny)
library(shinydashboard)

ui <- dashboardPage(
  dashboardHeader(),
  dashboardSidebar(),
  dashboardBody(tags$head(tags$title('myTitle')))
)
server <- function(input, output, session) {}
shinyApp(ui, server)
@bborgesr
Copy link
Contributor

Thanks! This was fixed in #203. The updated code is now in the development version of shinydashboard (to install in R, do devtools::install_github("rstudio/shinydashboard")), which will be released to CRAN within the next couple of weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants