On Jun 21, 2008, at 2:04 AM, sdumitriu (SVN) wrote:
Author: sdumitriu
Date: 2008-06-21 02:04:51 +0200 (Sat, 21 Jun 2008)
New Revision: 10535
Modified:
xwiki-platform/core/trunk/xwiki-core/src/main/resources/META-INF/
services/com.xpn.xwiki.render.filter.XWikiFilter
xwiki-platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/
render/markup/AbstractSyntaxTest.java
xwiki-platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/
render/markup/UnderlineTest.java
Log:
XWIKI-2489: _blank Links in table
Fixed.
Modified: xwiki-platform/core/trunk/xwiki-core/src/main/resources/
META-INF/services/com.xpn.xwiki.render.filter.XWikiFilter
===================================================================
--- xwiki-platform/core/trunk/xwiki-core/src/main/resources/META-INF/
services/com.xpn.xwiki.render.filter.XWikiFilter 2008-06-20 23:59:12
UTC (rev 10534)
+++ xwiki-platform/core/trunk/xwiki-core/src/main/resources/META-INF/
services/com.xpn.xwiki.render.filter.XWikiFilter 2008-06-21 00:04:51
UTC (rev 10535)
@@ -7,13 +7,13 @@
com.xpn.xwiki.render.filter.StyleFilter
com.xpn.xwiki.render.filter.MacroFilter
com.xpn.xwiki.render.filter.XWikiHeadingFilter
+com.xpn.xwiki.render.filter.UnderlineFilter
com.xpn.xwiki.render.filter.XWikiLinkFilter
org.radeox.filter.NewlineFilter
com.xpn.xwiki.render.filter.XWikiListFilter
org.radeox.filter.LineFilter
org.radeox.filter.StrikeThroughFilter
org.radeox.filter.ParagraphFilter
-com.xpn.xwiki.render.filter.UnderlineFilter
com.xpn.xwiki.render.filter.StrongFilter
org.radeox.filter.ItalicFilter
com.xpn.xwiki.render.filter.UrlFilter
This worries me slightly. I hope there's no side effects of this.
[snip]
+
+ public void testLinkTargetHasPriority()
Priority over what? It's not clear from the test itself.
testLinkTargetHasPriorityOverXXX
+ {
+ String testString = "[link>Main.WebHome>_blank] and
[another link>Main.WebHome>_blank]";
+ String result = this.renderer.render(testString,
this.document, this.document, this.context);
+ assertTrue(result.indexOf("em") == -1);
+ }
}
Thanks
-Vincent