[HepData-svn] r1768 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Mon Mar 24 12:35:43 GMT 2014


Author: watt
Date: Mon Mar 24 12:35:43 2014
New Revision: 1768

Log:
Revert previous change to HepMLFormatter

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java	Mon Mar 24 10:33:19 2014	(r1767)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java	Mon Mar 24 12:35:43 2014	(r1768)
@@ -52,7 +52,6 @@
         //    cr=cr.replaceAll("<=","≤");
             cr=cr.replaceAll(">",">");
             cr=cr.replaceAll("<","<");
-	    cr=cr.replaceAll("\\\\n","\\\\\\\\n");
             s.append("      <comment>\n");    
             s.append("        " + cr + "\n");
             s.append("      </comment>\n");    
@@ -76,7 +75,6 @@
              //   ct=ct.replaceAll("<=","≤");
                 ct=ct.replaceAll(">",">");
                 ct=ct.replaceAll("<","<");
-		ct=ct.replaceAll("\\\\n","\\\\\\\\n");
                 s.append("        <comment>\n");    
                 s.append("          " + ct + "\n");
                 s.append("        </comment>\n");    


More information about the HepData-svn mailing list