SonarQube HTML Plugin Style Rule - Repaired


(Ryan) #1

Not sure how to get anyone to help me out here or how to get plugged in so i don’t have to beg for attention.

Need Approval Please:

The check is only failing on nodes named “<style>” in markup instead of styles inline as attribute as the rule specifically says it is checking. This update repairs the check to look for an attribute and not a node name.

As the explanation says:
Noncompliant Code Example
< body >
< h1 style=“color: blue;” >Hello World!< /h1 >

(Nicolas Harraudeau) #3

Hi @Ryan,

Thank you for this fix! We will review and merge it as soon as possible.
Sorry for not having answered on the pull request sooner.