I have a problem with text in Shiny Dashboard. I would like to save original text formatting, but shiny removes the whitespaces I want to keep.
output$frame <- renderUI({
HTML(paste(
p(strong("Name and Surname:"),(" John Smith"))
)
)
})
tabItem(tabName = "aaa",
h2("bbb"),
fluidRow(
box(width = 6, solidHeader = TRUE, htmlOutput("frame"))
)
),
Unfortunately I get "Name and Surname: John Smith".
I wish to have "Name and Surname: John Smith"
.
How to solve this problem?