maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r366546 - /maven/jxr/trunk/src/main/java/org/apache/maven/jxr/JavaCodeTransform.java
Date Fri, 06 Jan 2006 18:26:13 GMT
Author: ltheussl
Date: Fri Jan  6 10:26:10 2006
New Revision: 366546

URL: http://svn.apache.org/viewcvs?rev=366546&view=rev
Log:
PR: MPJXR-31
Source X-Ref Plugin reverses backslashes.

Modified:
    maven/jxr/trunk/src/main/java/org/apache/maven/jxr/JavaCodeTransform.java

Modified: maven/jxr/trunk/src/main/java/org/apache/maven/jxr/JavaCodeTransform.java
URL: http://svn.apache.org/viewcvs/maven/jxr/trunk/src/main/java/org/apache/maven/jxr/JavaCodeTransform.java?rev=366546&r1=366545&r2=366546&view=diff
==============================================================================
--- maven/jxr/trunk/src/main/java/org/apache/maven/jxr/JavaCodeTransform.java (original)
+++ maven/jxr/trunk/src/main/java/org/apache/maven/jxr/JavaCodeTransform.java Fri Jan  6 10:26:10
2006
@@ -247,7 +247,7 @@
         }
         line = replace( line, "&", "&" );
         line = replace( line, "<", "&lt;" );
-        line = replace( line, "\\\\", "&#47;&#47;" );
+        line = replace( line, "\\\\", "&#92;&#92;" );
         line = replace( line, "\\\"", "\\&quot;" );
         line = replace( line, "'\"'", "'&quot;'" );
         return multiLineCommentFilter( line );



Mime
View raw message