Whenever I utilize renderUI on the server side and uiOutput on the UI side, the HTML is always wrapped within a div. Is there a way to wrap it in a span instead?
For instance:
UI side:
tags$p(uiOutput("my_variable"))
Server side:
output$currentLev1 <- renderUI({return(input$my_variable)})
Result:
<div id="my_variable" class="shiny-html-output shiny-bound-output">my_variable</div>
Desired result:
<span id="my_variable" class="shiny-html-output shiny-bound-output">my_variable</span>
(Simply change div to span)
Thank you for the assistance