Skip to content

Regular expressions in guidance popup or sidebar can be parsed as markup links #468

@ddooley

Description

@ddooley

The "guidance" help display text includes a variety of field(slot) information pieces such as "Regular expression validator:" The regex field.pattern is shown to users for e.g. a field value like "coding_name" pattern: ^a-z+$ ) However a regular expression might contain bracketed text and then parenthesized text ... , and this text is being parsed by the markup engine as a link to display. Need a way to turn off markup engine when displaying regex pattern sequences.

See DataHarmonizer.js getCommentDict(field) {)

if (field.pattern) {
      guidance.push(
        i18next.t('reference_guide_msg_pattern_regex') + '<br>' + field.pattern
      );
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions