The tag "wbr" has no corresponding closing tag (false positive)

Hello, there!

  • Operating system: Windows 11
  • SonarQube for IntelliJ plugin version: 10.14.1.80220
  • IntelliJ version: WebStorm 2024.3.1.1
  • Is connected mode used: No.

I’m getting false-positive for setting “Web:UnclosedTagCheck” (and should not):

The tag “wbr” has no corresponding closing tag.

developer mozilla :: wbr :: technical summary

Tag omission | Must have a start tag and must not have an end tag.

HTML specification in whatwg :: wbr element

Tag omission in text/html:
No end tag.

<!doctype html>
<html lang="en">
  <head>
    <title>WBR tag test</title>
  </head>
  <body>
    This should have no error<wbr>s
  </body>
</html>

This example code is 100% valid with w3c validator.

1 Like

Dear @KsaR99 , thank you for the report. I can confirm that it is a false positive and that it needs to be fixed. I created a ticket to track the progress on the fix: Jira.

Regards,

Eric.

1 Like