rspec/rules/S1936/html/rule.adoc
2022-02-04 16:28:24 +00:00

32 lines
522 B
Plaintext

This rule checks that the specified HTML elements are not present.
== Noncompliant Code Example
For a disallowed list of "font,center":
[source,html]
----
<center><font color="red">Hello World!</font></center> <!-- Noncompliant -->
----
== Compliant Solution
[source,html]
----
<div class="centerRed">Hello World!</div>
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
include::parameters.adoc[]
endif::env-github,rspecator-view[]