mikemybytes opened a new pull request #392:
URL: https://github.com/apache/maven-surefire/pull/392


   When building Surefire with Java 17 (`OpenJDK 64-Bit Server VM 
Temurin-17+35`) and Maven 3.6.3, the Javadoc generation process fails with the 
following error:
   ```
   [ERROR] 
/home/mike/Workspace/maven-surefire/surefire-api/src/main/java/org/apache/maven/surefire/api/report/ReportEntry.java:[79,89]
 error: tag not supported in HTML5: tt
   ```
   The problem seems not to appear when building the project with Java 11 
(`OpenJDK 64-Bit Server VM AdoptOpenJDK`).
   
   As the `<tt>` tag [seems to be 
deprecated](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt), it 
should probably be replaced with an HTML 5-compatible alternative like 
`<code>`. This PR introduces such a change.
   
   From the semantical point of view, not every introduced `<code>` usage 
represents the actual code. In case it's not desirable to use it like this 
everywhere, we may consider replacing some of the occurrences with a different 
tag like `<pre>`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to