clean_field_label function

Very simple function to remove rich text formatting from field label and save the first paragraph ('<p>...</p>').

Very simple function to remove rich text formatting from field label and save the first paragraph ('

...

').

clean_field_label(data)

Arguments

  • data: field label

Returns

character vector

Examples

clean_field_label("<div class=\"rich-text-field-label\"><p>Fazekas score</p></div>")