parent
cd16d27e55
commit
bfb13d4b28
|
|
@ -287,6 +287,13 @@ class MyCheck extends AbstractJavadocCheck {
|
|||
Void HTML elements: <AREA>, <BASE>, <BASEFONT>, <BR>, <COL>, <FRAME>,
|
||||
<HR>, <IMG>, <INPUT>, <ISINDEX>, <LINK>, <META>, <PARAM>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
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 <a href="#XHTML-style_rules">XHTML-style rules</a> 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.).
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If Checkstyle meets unknown tag (for example HTML5 tag)
|
||||
it doesn't fail and parses this tag as <a href="apidocs/com/puppycrawl/tools/checkstyle/api/JavadocTokenTypes.html#HTML_TAG">HTML_TAG</a> Javadoc token type.
|
||||
|
|
|
|||
Loading…
Reference in New Issue