- versions used (SonarQube: 6.7.4 , language analyzer: htm: 3.1)
Hi, I wanted to report that this rule occasionally returns false positives.
In the following example, although as shown it contains all the closing tag, it fails indicating: The tag " " has no corresponding closing tag.
<div id="**" class="**">
The tag "div" has no corresponding closing tag.
<s:form id="**" action="**" validate="false" Acceptcharset="UTF-8">
Replace all tab characters in this file by sequences of white-spaces.
The tag "s:form" has no corresponding closing tag.
<div class="**">
</div>
<div class="**">
</div>
<%-- --%>
<div id="**" style="display:none">
The tag "div" has no corresponding closing tag.
<div class="****">
The tag "div" has no corresponding closing tag.
<div class="**" style="width: 50%;">
The tag "div" has no corresponding closing tag.
<input type="button" id=""
onclick=""; return false;"
onkeypress="lanzarClick(this); return false;"
class="botonSubmit botonLimpiar" />
<input type="button" id=""
onclick="saveActivo(); return false;"
onkeypress="lanzarClick(this); return false;"
class="botonSubmit botonBuscar" />
</div>
</div>
</div>
</s:form>
<div id="**" class="**"><span><s:text name="****" /></span></div>
</div>
Regards