jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r763624 - /jackrabbit/commons/site/src/site/template.vm
Date Thu, 09 Apr 2009 12:27:12 GMT
Author: jukka
Date: Thu Apr  9 12:27:11 2009
New Revision: 763624

URL: http://svn.apache.org/viewvc?rev=763624&view=rev
Log:
commons: Work around the annoying newline-after-a-link issue.

Modified:
    jackrabbit/commons/site/src/site/template.vm

Modified: jackrabbit/commons/site/src/site/template.vm
URL: http://svn.apache.org/viewvc/jackrabbit/commons/site/src/site/template.vm?rev=763624&r1=763623&r2=763624&view=diff
==============================================================================
--- jackrabbit/commons/site/src/site/template.vm (original)
+++ jackrabbit/commons/site/src/site/template.vm Thu Apr  9 12:27:11 2009
@@ -125,7 +125,7 @@
         </div>
         <div id="content">
           <h1>$title</h1>
-          $bodyContent
+          $bodyContent.replaceAll("</a>\r?\n", "</a>")
         </div>
         <div id="end"></div>
       </div>



Mime
View raw message