Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Parser's issue with scripts containing closing tags #48

Closed
@mnakalay

Description

@mnakalay

Hello,
Whenever the page contains a script which contains a closing HTML tag, the parser gets it wrong and adds a closing </script> tag right in the middle

For instance this

$('<div class="bg-color-overlay"></div>').prependTo('body');

becomes this

$('<div class="bg-color-overlay"></script></div>').prependTo('body');

And breaks everything.

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