diff --git a/src/tools/html-checker/main.rs b/src/tools/html-checker/main.rs index a93191191cc..bf2830254e8 100644 --- a/src/tools/html-checker/main.rs +++ b/src/tools/html-checker/main.rs @@ -11,22 +11,10 @@ fn check_html_file(file: &Path) -> usize { // If a contains only HTML elements and no text, it complains about it. "TRIM_EMPTY_ELEMENT", // FIXME: the three next warnings are about
 elements which are not supposed to
-        //        contain HTML. The solution here would be to replace them with a 
with - // "" + // contain HTML. The solution here would be to replace them with a
"MISSING_ENDTAG_BEFORE", "INSERTING_TAG", "DISCARDING_UNEXPECTED", - // FIXME: mdbook repeats the name attribute on . When the fix is merged upstream, - // this warning can be used again. - "REPEATED_ATTRIBUTE", - // FIXME: mdbook uses "align" attribute on , which is not allowed. - "MISMATCHED_ATTRIBUTE_WARN", - // FIXME: mdbook doesn't add "alt" attribute on images. - "MISSING_ATTRIBUTE", - // FIXME: mdbook doesn't escape `&` (in "&String" for example). - "UNKNOWN_ENTITY", - // Compiler docs have some inlined