Issue #410: More examples to WritingJavadocChecks wiki-page (#3227)

This commit is contained in:
Baratali Izmailov 2016-05-28 17:36:45 +01:00 committed by Roman Ivanov
parent 9bfb89589b
commit 2dcc8ba90b
1 changed files with 9 additions and 0 deletions

View File

@ -313,6 +313,15 @@ JAVADOC -> <audio><source src="horse.ogg" type="audio/ogg"/></audio><EOF> [0:0]
]]></source>
</p>
<p>
Here is what you get if unknown tag doesn't have matching end tag (for example, HTML5 tag &lt;audio&gt;): <br/>
Input:
<source>&lt;audio&gt;test</source>
Output:
<source>[ERROR:0] Javadoc comment at column 1 has parse error. Missed HTML close tag 'audio'. Sometimes it means that close tag missed for one of previous tags.</source>
As you see Javadoc parser prints error and doesn't build AST if unknown HTML tag doesn't have matching end tag.
</p>
<p>More examples:</p>
<table style="table-layout: fixed;">