mirror of
https://github.com/Hopiu/lychee.git
synced 2026-04-08 07:20:59 +00:00
* Fix HTML parsing for non-closed elements like <link> The XML parser we use requires all tags to be closed by default, and if they aren't (like HTML5 <link> elements), it simply gives up on further parsing. This change makes it ignore such issues. Also uncover a bug with the current parser (it simply won't parse elements like `<script defer src="..."></script>`) -- e.g. elements with no attribute values. The XML parser is an XML parser and will have to be replaced with HTML aware parser in the future. * Add check for empty elements * Update extract.rs Co-authored-by: Matthias <matthias-endler@gmx.net> |
||
|---|---|---|
| .. | ||
| bin/lychee | ||
| client.rs | ||
| client_pool.rs | ||
| collector.rs | ||
| excludes.rs | ||
| extract.rs | ||
| lib.rs | ||
| test_utils.rs | ||
| types.rs | ||
| uri.rs | ||