Anca Paula Luca wrote:
hel-o wrote:
Hi,
my scenario ist thisone
*
[[
http://blog.semantic-web.at/>>http://blog.semantic-web.at/||target=&q…
is the corporate blog of the [[Semantic Web
Company>>http://www.semantic-web.at/||target="_blank"]], Vienna.
*
[[
http://planet.kiwi-project.eu/>>http://planet.kiwi-project.eu/||targe…
des Kiwi-Projekts
Hi there,
I tried this scenario above and indeed I could reproduce it. Would you please
report the bug on our jira at
http://jira.xwiki.org/jira/browse/XWIKI in the
editor-gwt-wysiwyg component, adding this scenario in the description?
Right, I can reproduce the bug but it think it is a rendering bug and
not a WYSIWYG one.
The following wiki syntax:
[[
http://xwiki.org>>http://xwiki.org]]
generates:
<!--startwikilink:http://xwiki.org-->
<span class="wikiexternallink">
<a href="http://xwiki.org">
<!--startwikilink:http://xwiki.org-->
<span class="wikiexternallink">
<a class="wikimodel-freestanding"
href="http://xwiki.org">
<span
class="wikigeneratedlinkcontent">http://xwiki.org</span>
</a>
</span>
<!--stopwikilink-->
</a>
</span>
<!--stopwikilink-->
The problem is of course the fact that xwiki/2.0 link labels support
wiki syntax, including other links apparently.
From xhtml/1.0 strict DTD:
<!ELEMENT a %a.content;>
<!ENTITY % a.content
"(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; |
%misc.inline;)*">
Thus an anchor must not contain another anchor. I'll open a jira issue
on the rendering.
Thanks for raising this.
Marius
Thanks for signaling this,
Happy coding.
Anca Luca
[snip]