Skip to content

Wrong parsing in children node of escapable raw text elements #45

@backcover7

Description

@backcover7

Tags like <textarea>, <title> do not allow to create other tags in its content because in the two tags belong to escapable raw text elements (RCDATA element). So when parsing tags like the two, the node should not have children node with nodetype "tag".

Try code in HTML like the following:
<title>test<img></title>

In the parsed result of hyntax, it will display like this:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions