Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improperly parsing HTML #31

Open
tlindsay opened this issue Jan 23, 2024 · 0 comments
Open

Improperly parsing HTML #31

tlindsay opened this issue Jan 23, 2024 · 0 comments

Comments

@tlindsay
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant