maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r1100544 - /maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
Date Sat, 07 May 2011 14:12:20 GMT
Author: ltheussl
Date: Sat May  7 14:12:19 2011
New Revision: 1100544

URL: http://svn.apache.org/viewvc?rev=1100544&view=rev
Log:
[DOXIASITETOOLS-59] Using a relative path to an image in a <poweredBy><logo> generates
a wrong "src" value for HTML <img> tag
Submitted by: Juien Enoch

Modified:
    maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm

Modified: maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm?rev=1100544&r1=1100543&r2=1100544&view=diff
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
(original)
+++ maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
Sat May  7 14:12:19 2011
@@ -401,7 +401,7 @@
             $img.toLowerCase().startsWith("ftp:/") || $img.toLowerCase().startsWith("mailto:/")
||
             $img.toLowerCase().startsWith("file:/") || ($img.toLowerCase().indexOf("://")
!= -1) ) )
         #set ( $img = $PathTool.calculateLink( $img, $relativePath ) )
-        #set ( $img = $src.replaceAll( '\\', '/' ) )
+        #set ( $img = $img.replaceAll( '\\', '/' ) )
       #end
 ##
       #if( $item.alt )



Mime
View raw message