Skip to content

Commit 15a8999

Browse files
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

5 files changed

+498
-188
lines changed

src/librustdoc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#![feature(file_buffered)]
1212
#![feature(format_args_nl)]
1313
#![feature(if_let_guard)]
14+
#![feature(iter_advance_by)]
1415
#![feature(iter_intersperse)]
1516
#![feature(round_char_boundary)]
1617
#![feature(rustc_private)]

0 commit comments

Comments
 (0)