Skip to content

Improperly parsing HTML #31

@tlindsay

Description

@tlindsay

In the first paragraph of this article, the author includes a small <code> block:

<code class="cw np nq nr ns b"><marquee></code>

When rendering this article via libmedium, the parser doesn't realize that the <marquee> is supposed to be the text-literal contents of the <code> block, and instead treats it as an unclosed part of the document. This causes the rest of the article to render inside of
the <code><marquee>... which is... not ideal for readability 😆

Screen Shot 2024-01-23 at 16 35 00

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