Skip to content

Inline styles serialization issue #17

Description

@zabojad

If I parse this:

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <style type="text/css">
    body > *:not(.app) {
        display: none;
    }
    </style>
</head>
<body>
</body>
</html>

and output the serialization of it, it gives this:

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <style type="text/css">
    body &gt; *:not(.app) {
        display: none;
    }
    </style>
</head>
<body>
</body>
</html>

It breaks the inline style by converting > to &gt;.

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