Simple html tag wrapping for REDCap text formatting
Usage
html_tag_wrap(data, tag = "h2", extra = NULL)
Arguments
- data
character vector
- tag
character vector length 1
character vector
Examples
html_tag_wrap("Titel", tag = "div", extra = 'class="rich-text-field-label"')
#> <div class="rich-text-field-label">Titel</div>
html_tag_wrap("Titel", tag = "h2")
#> <h2>Titel</h2>