Carl_G
(Carl Gellings)
January 18, 2023, 9:05am
1
Language: HTML
Rule: Bug
Why: Unrequired tag
Product: Sonarqube
(from email_template.html hence the inline styling)
<table style="
width: 90%;
max-width: 700px;
background-color: #fff;
border: 1px solid #CFD2D7;
margin: auto;
border-radius: 6px;
padding: 50px;
padding-bottom: calc(50px - 16px);
">
<tr>
<td>
<h1 style="
font-family: 'Blacker-Pro-Display';
Unexpected missing generic font family
font-size: 32px;
font-weight: 500;
color: #0E1E36;
margin: 0;
margin-bottom: 30px;
">{{heading}}</h1>
</td>
</tr>
</table>
ganncamp
(G Ann Campbell)
January 23, 2023, 6:11pm
2
Hi,
Welcome to the community!
Thanks for this report. What version of SonarQube or SonarLint are you running? Or are you seeing this in SonarCloud?
Thx,
Ann
Carl_G
(Carl Gellings)
May 2, 2023, 6:00am
3
Sonarqube Community edition 9.6.1 Setting up latest currently, but work is interfering
ganncamp
(G Ann Campbell)
May 2, 2023, 3:26pm
4
Hi,
A lot gets updated from version to version. Can you see if this is still replicable once you’ve upgraded and let us know?
Thx,
Ann
Carl_G
(Carl Gellings)
May 3, 2023, 5:57am
5
I shall, once my virtual desk is less swamped! I checked another environment which is running vs 10 it still has wrong rules concerning the <th>
element. Now the element is no longer required, but the scope and id are, which is untrue. it is true for the <header>
element. Which RFC from the W3C are you using???
1 Like
ganncamp
(G Ann Campbell)
May 8, 2023, 2:19pm
6
Hi,
I don’t know. And I believe some of these rules were implemented a long time ago.
Could you provide a code snippet / reproducer for this, please? Because it’s not clear to me what you mean.
I assume scope and id are attributes, but of which tag?
Ann
Carl_G
(Carl Gellings)
May 9, 2023, 8:58am
7
The snippet I used at the beginning.
You need help with the HTML rule set?
ganncamp
(G Ann Campbell)
May 9, 2023, 3:38pm
8
Hi,
I’m confused. The snippet you used at the beginning demonstrated a lack of <th>
tags.
When you don’t have scope and id attributes, issues are erroneously raised where in that snippet?
Ann