Hi,
On Tue, Apr 13, 2010 at 19:56, Meng Wu <mengxwu(a)yahoo.com> wrote:
Hey all,
The TWiki syntax doesn't seem to fully support HTML elements like <pre>,
<u>, <nop>, and links (they aren't rendered at all or rendered
incorrectly). However, basic syntax minus these tags such as <verbatim>, bullets,
etc, work. Enabling these HTML elements is essential because we are migrating documents
from the twiki and need them to be rendered correctly.
We've added twiki 1.0 to the xwiki.cfg file and selected the syntax in the edit UI,
but I read on the mailing list that the syntaxes aren't entirely implemented yet. So
are html elements simply not supported yet, and if not, what do I need to do to enable
them?
TWiki parser is actually a Doxia (
http://maven.apache.org/doxia/)
parser. Here is what you can do to improve it:
* improve existing parser:
- finish/fix doxia bridge which convert doxia events into XWiki
events . That basically mean finish
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-rendering/xwik…
- report any bug not caused by the bridge but part of the real
parser to Doxia guys (and eventually provide patch to them)
* rewrite it in Wikimodel (
http://code.google.com/p/wikimodel/) for
which the bridge is complete
* rewrite it with pure XWiki api (implementing
org.xwiki.rendering.parser.StreamParser)
Thanks,
Felix
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne