org.sonar.l10n.web.rules.Web.IllegalElementCheck.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-web-plugin Show documentation
Show all versions of sonar-web-plugin Show documentation
Enables scanning of HTML, and JSP/JSF files.
This rule checks that the specified HTML elements are not present.
Noncompliant Code Example
For a disallowed list of "font,center":
<center><font color="red">Hello World!</font></center> <!-- Noncompliant -->
Compliant Solution
<div class="centerRed">Hello World!</div>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy