Hi, 

A patch for maven-plugins/xdoc/src/plugin-resources/templates/mail-lsits.xml

-    #if ($link.startsWith("http"))
+    #if ($link.trim().startsWith("http"))

looks like this is a hack to overcomne the fact that leading spaces 
are being included in the variable. 

yours
Tim Pizey
Index: mail-lists.xml
===================================================================
RCS file: /home/cvspublic/maven-plugins/xdoc/src/plugin-resources/templates/mail-lists.xml,v
retrieving revision 1.3
diff -u -r1.3 mail-lists.xml
--- mail-lists.xml	2 Feb 2004 04:40:25 -0000	1.3
+++ mail-lists.xml	3 Mar 2004 20:40:30 -0000
@@ -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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to