Skip to content

Textarea not properly picked up in GFMRendererMixin #243

@joemull

Description

@joemull

There is a typo in the regex that catches elements that should be escaped in the GFMRendererMixin: texarea

tagfilter = re.compile(
r"<(title|texarea|style|xmp|iframe|noembed|noframes|script|plaintext)",
flags=re.I,
)
tagfilter_no_open = re.compile(
r"(?<!^)( *)<(title|texarea|style|xmp|iframe|noembed|noframes|script|plaintext)",
flags=re.I,
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions