I would recommend always opening a bug. Otherwise you run the risk of your
patch being missed.  that way, when one of the committer's has time, they
can apply a whole bunch of patches at once.  Also, once your patch is
applied, you are notified, so you can verify your patch!

Eric

-----Original Message-----
From: Paulo Eduardo Azevedo Silveira [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 3:58 PM
To: Turbine Maven Users List
Subject: how can I send a patch to maven?


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-reso
urces/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