Commit 15a8999
committed
refactor rustdoc::invalid_html_tags tag parser
previously, this lint did not distinguish between `<img` and `<img>`,
and since the latter should be accepted under html5,
the former was also accepted.
the parser now also handles multi-line tags and multi-line attributes.1 parent e50fed7 commit 15a8999
File tree
5 files changed
+498
-188
lines changed- src/librustdoc
- passes/lint
- html_tags
- tests/rustdoc-ui/lints
5 files changed
+498
-188
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments