You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ev...@apache.org on 2004/03/04 06:19:32 UTC
cvs commit: maven-plugins/xdoc/src/plugin-resources/templates mail-lists.xml
evenisse 2004/03/03 21:19:32
Modified: xdoc/src/plugin-resources/templates mail-lists.xml
Log:
A little fix for links with spaces.
Revision Changes Path
1.4 +1 -1 maven-plugins/xdoc/src/plugin-resources/templates/mail-lists.xml
Index: mail-lists.xml
===================================================================
RCS file: /home/cvs/maven-plugins/xdoc/src/plugin-resources/templates/mail-lists.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mail-lists.xml 2 Feb 2004 04:40:25 -0000 1.3
+++ mail-lists.xml 4 Mar 2004 05:19:32 -0000 1.4
@@ -3,7 +3,7 @@
#macro (displayLink $label $link)
<td>
#if ($link && $link.length() != 0)
- #if ($link.startsWith("http"))
+ #if ($link.trim().startsWith("http"))
<a href="$escape.getText($link)">$label</a>
#else
<a href="mailto:$link">$label</a>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org