maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r564182 - /maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
Date Thu, 09 Aug 2007 12:24:43 GMT
Author: vsiveton
Date: Thu Aug  9 05:24:42 2007
New Revision: 564182

URL: http://svn.apache.org/viewvc?view=rev&rev=564182
Log:
DOXIA-103: Input encoding handling problem
Submitted by: Sergey N. Zaitsev
Reviewed by: Vincent Siveton

o patch applied. Thanks.

Modified:
    maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java

Modified: maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java?view=diff&rev=564182&r1=564181&r2=564182
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
(original)
+++ maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
Thu Aug  9 05:24:42 2007
@@ -308,7 +308,7 @@
 
                     StringWriter sw = new StringWriter();
 
-                    velocity.getEngine().mergeTemplate( resource, vc, sw );
+                    velocity.getEngine().mergeTemplate( resource, context.getInputEncoding(),
vc, sw );
 
                     reader = new StringReader( sw.toString() );
                 }



Mime
View raw message