You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ju...@apache.org on 2009/04/09 14:27:12 UTC
svn commit: r763624 - /jackrabbit/commons/site/src/site/template.vm
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>