Compare commits

..
2 Commits
Author SHA1 Message Date
bwilliams 985e850421 Increment version number to 0.0.4 2026-01-26 13:53:23 +00:00
bwilliams f7379e3d1b Fixed shrunk box header once title is removed 2026-01-26 13:53:12 +00:00
2 changed files with 5 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
Package: AVSDevR.HTMLUtils
Title: Utility Functions For Modifying R HTML Elements
Version: 0.0.3
Version: 0.0.4
Authors@R:
person("Craig", "Williams", , "craig@avsdev.uk", role = c("aut", "cre"))
Description: Collection of utility functions for modifying HTML markup of
+4 -1
View File
@@ -169,6 +169,9 @@ htmlRemoveBoxTitle <- function(box, removeHeader = FALSE) {
if (removeHeader) {
htmltools::tagQuery(box)$find(".box-header")$remove()$allTags()
} else {
htmltools::tagQuery(box)$find(".box-title")$remove()$allTags()
htmltools::tagQuery(box)$
find(".box-title")$
replace(htmltools::tags$span())$
allTags()
}
}