On Mar 22, 2009, at 9:21 AM, Asiri Rathnayake wrote:
Hi devs,
I came across this problem when trying to fix: http://jira.xwiki.org/jira/browse/XWIKI-3416. According to http://learningforlife.fsu.edu/webmaster/references/xhtml/tags/hypertext/a.c... xhtml anchor can appear inside several other elements like headings, table cells, table headers and many more. But in xwiki syntax I have to place the Id macro always on a new line and this complicates things a lot.
Indeed the id macro is defined as not inline only. I also don't see why it couldn't be inline. Thomas? Thanks -Vincent
I can fix http://jira.xwiki.org/jira/browse/XWIKI-3416 by dragging out all the nested anchors right bellow the <body> element so that generated id macros will always land on a newline. But this is ugly and will not work for many cases. Why do we need the id macro to be on a newline always?
Any ideas?
Thanks.
- Asiri