rstudio / htmltools

Tools for HTML generation and output
https://rstudio.github.io/htmltools/
215 stars 68 forks source link

Provide c() method #285

Open hadley opened 3 years ago

hadley commented 3 years ago
c(htmltools::p("x"), htmltools::p("y"))
#> $name
#> [1] "p"
#> 
#> $attribs
#> named list()
#> 
#> $children
#> $children[[1]]
#> [1] "x"
#> 
#> 
#> $name
#> [1] "p"
#> 
#> $attribs
#> named list()
#> 
#> $children
#> $children[[1]]
#> [1] "y"

Created on 2021-08-11 by the reprex package (v2.0.0)

Should just pass on to tagList(), I think.