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

Broken HTML succeeds parsing, whereas it should fail #401

Open
oferze opened this issue Jul 17, 2020 · 2 comments
Open

Broken HTML succeeds parsing, whereas it should fail #401

oferze opened this issue Jul 17, 2020 · 2 comments
Assignees

Comments

@oferze
Copy link

oferze commented Jul 17, 2020

Description

An invalid markup is mistakenly rendered as valid:

<a href='http://www.example.com'<em>bold</em>, more text

Fiddle or Project

https://dotnetfiddle.net/VHFWiM

Further technical details

  • HAP version: 1.11.24
  • NET version: 4.7.2
@JonathanMagnan JonathanMagnan self-assigned this Jul 17, 2020
@JonathanMagnan
Copy link
Member

JonathanMagnan commented Jul 17, 2020

Hello @oferze ,

To be honest, unfortunately unless we make a major version (which likely not happen soon), I don't think we will fix issue like this one.

A full code re-write is probably needed to handle all those scenarios and be HTML 5 compliant which takes way too much effort.

@oferze
Copy link
Author

oferze commented Jul 18, 2020

Oh that's... surprising. Seems like a very basic case - An A tag cropped, then the A tag not closed. Old-school HTML 3.

OK thanks! I'll see if it's something I could fix.

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

No branches or pull requests

2 participants