Ok, there is this little issue, when generating the website, the xdoc plugin 
translates every html tag in well idented
tags, like:

<code>
  tag
</code>

in

<code>
  tag
</code>

But this way, all the links have a trailing space (you can see at maven homepage, 
using IE or Mozilla). 

James Strachan helped me out with the .jsl that xdoc uses, and we get into this patch

But I dont know how to send this to you guys. Should I ve opened a issue at  the 
tracker, or should I ve sent the
request before? I also would like to send patches for the documentation, how to 
proceed?


Index: site.jsl
===================================================================
RCS file: 
/home/cvspublic/jakarta-turbine-maven/src/plugins-build/xdoc/src/plugin-resources/site.jsl,v
retrieving revision 1.12
diff -u -r1.12 site.jsl
--- site.jsl    6 Mar 2003 10:42:26 -0000       1.12
+++ site.jsl    10 Mar 2003 20:53:02 -0000
@@ -551,6 +551,13 @@
       </jsl:template>
 
 
+  <!-- remove the space at the end of parsed "a" anchors -->
+  <jsl:template match="a" trim="false">
+    <jsl:copy trim="true">
+      <jsl:applyTemplates trim="true"/>
+    </jsl:copy>
+   </jsl:template>
+
   <!-- copy any other elements through -->
   <jsl:template match="*" trim="false">
     <jsl:copy trim="false">


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to