On Apr 14, 2009, at 3:34 PM, Sergiu Dumitriu wrote:
Thomas Mortagne wrote:
Hi devs,
We have (at least) two issues about links inside links:
http://jira.xwiki.org/jira/browse/XWIKI-3149 and
http://jira.xwiki.org/jira/browse/XWIKI-3440
Basically the issue is that XHTML does not support links inside
links.
To fix this I see two possibilities:
1) valid in XDOM: this means XHTML renderer has to take care of this
and skip link inside links
2) not valid in XDOM: this means each parser has to make sure not put
link inside links in the XDOM
+1 for 1) and -0 for 2) since it's a XHTML issue only and we could
have some use cases supporting this like XWiki syntax support it.
XHTML 2 supports nested links, and I think that HTML5 also, although I
couldn't find this specified explicitly. So +1 for 1.
Seen that XHTML 2.0 will support HREF for all elements
(see
http://www.w3.org/TR/xhtml2/mod-hyperAttributes.ht
ml#col_Hypertext) I agree that 1) is the best.
+1 for 1).
Thanks
-Vincent