diff --git a/src/xdocs/writingjavadocchecks.xml.vm b/src/xdocs/writingjavadocchecks.xml.vm index e43ddcd1b..293fd8450 100644 --- a/src/xdocs/writingjavadocchecks.xml.vm +++ b/src/xdocs/writingjavadocchecks.xml.vm @@ -287,6 +287,13 @@ class MyCheck extends AbstractJavadocCheck { Void HTML elements: <AREA>, <BASE>, <BASEFONT>, <BR>, <COL>, <FRAME>, <HR>, <IMG>, <INPUT>, <ISINDEX>, <LINK>, <META>, <PARAM>.

+ +

+ To make Checkstyle support HTML5 tags whose end tag is optional and HTML5 void elements we should update Javadoc Parser + bacause each element that breaks XHTML-style rules have to be defined in Javadoc grammar. + In future we should update Javadoc grammar if those tag lists extend (new tags, new HTML standard, etc.). +

+

If Checkstyle meets unknown tag (for example HTML5 tag) it doesn't fail and parses this tag as HTML_TAG Javadoc token type.