html_tag_wrap function

Simple html tag wrapping for REDCap text formatting

Simple html tag wrapping for REDCap text formatting

html_tag_wrap(data, tag = "h2", extra = NULL)

Arguments

  • data: character vector
  • tag: character vector length 1
  • extra: character vector

Returns

character vector

Examples

html_tag_wrap("Titel", tag = "div", extra = 'class="rich-text-field-label"') html_tag_wrap("Titel", tag = "h2")