jira-importer commented on issue #762:
URL: 
https://github.com/apache/maven-javadoc-plugin/issues/762#issuecomment-2957350541

   **[Thorsten 
Schöning](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=tschoening)**
 commented
   
   There's an answer linking to some good docs:
   
   https://mail.openjdk.java.net/pipermail/javadoc-dev/2019-January/000779.html
   
   > Because backslash (\) is an escape character, a backslash character must 
be escaped with another backslash character.
   
   
https://docs.oracle.com/en/java/javase/11/tools/java.html#GUID-4856361B-8BFD-4964-AE84-121F5F6CF111
   
   > Support for `@-files` in javac, javadoc, javah aligned with launcher 
support
   
   
https://www.oracle.com/technetwork/java/javase/9-notes-3745703.html#JDK-8162810
   
   So, escaping backslashes in general is the correct thing to do, but one 
needs to keep in mind additional definitions for Javadoc itself, like "\:" for 
tag names. So I suggest keeping my approach by escaping what we really know 
needs to be escaped and further improve as necessary.
   


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to