Refactor parse_labels()
to remove return_stripped_text_flag
parameter
#124
Labels
parse_labels()
to remove return_stripped_text_flag
parameter
#124
Currently
parse_labels()
takes areturn_stripped_text_flag
argument that, ifTRUE
, returns a flag indicating whether or notparse_labels()
altered label text during parsing by stripping HTML/field embedding logic.This complexity was introduced in #118 to allow
check_parsed_labels()
to add a message indicating that the labels were altered. Ideallycheck_parsed_labels()
could produce the correct message withoutparse_labels()
needing to pass a flag around but this would take additional refactoring of how we handle applying labels.Checklist
The text was updated successfully, but these errors were encountered: