You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2011/01/23 22:29:27 UTC

svn commit: r1062535 - /maven/plugins/trunk/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java

Author: ltheussl
Date: Sun Jan 23 21:29:27 2011
New Revision: 1062535

URL: http://svn.apache.org/viewvc?rev=1062535&view=rev
Log:
[MPDF-42] call super.text() to make sure text is html encoded

Modified:
    maven/plugins/trunk/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java

Modified: maven/plugins/trunk/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java?rev=1062535&r1=1062534&r2=1062535&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java (original)
+++ maven/plugins/trunk/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java Sun Jan 23 21:29:27 2011
@@ -1772,7 +1772,7 @@ public class PdfMojo
         public void text( String text )
         {
             // workaround to fix quotes introduced with MPIR-59 (then removed in MPIR-136)
-            super.write( StringUtils.replace( text, "\u0092", "'" ) );
+            super.text( StringUtils.replace( text, "\u0092", "'" ) );
         }
     }