Comments (2)
I know the current solution is flawed, but your change doesn't improve the situation, either, as it breaks existing projects.
from htmlparser2.
Understood. And certainly as I look into the issue further, there are leftover tags, etc. I guess there is a limit to much bad HTML one can "forgive". Thanks for the quick response. I'll close this then.
from htmlparser2.
Related Issues (20)
- Incorrect parsing of the tag body in stream mode HOT 1
- When bundled, source maps are inlined rather than put in a separate file HOT 5
- Parsing breaks after `<script>` or `<style>` block, followed by an entity (`&blah;`) HOT 6
- Parsing fails in some websites HOT 3
- replaced by regular space HOT 1
- Runtime error occurs in production environment using Vite HOT 1
- parseDocument in xmlMode,how to ignore space and crlf? HOT 1
- `endIndex` is not consistent in Tokenizer's `onattribend` HOT 1
- [bug] parse wrong tree if has self closing tag HOT 1
- Question: How can I properly stop the parser early once I've found what I was looking for? HOT 1
- endIndex wrong? for onopentag & onclosetag HOT 1
- feature: ignore PHP tags inside html tags HOT 1
- Parser incorrectly recognizes (less than) as a starting tag HOT 3
- pTag is too strict HOT 1
- [Feature request] Configurable characters for nesting attribute values HOT 2
- Module parse failed: Unexpected token (48:9) HOT 2
- async function for onopentag HOT 1
- Text content in textarea is parsed as html
- lowerCaseAttributeNames default is true without xmlMode HOT 1
- Lacking documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htmlparser2.