rustdoc::invalid_html_tags
does not understand SVG self-closing tags
#103460
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Given the following code:
The current output of
cargo +nightly doc
is:But it is valid to use
/>
self-closing tags for SVG embedded in HTML, so this markup is not incorrect. There should be no warning.cc #67799
@rustbot label +T-rustdoc -T-compiler
The text was updated successfully, but these errors were encountered: