bryonjacob / wikimodel

Automatically exported from code.google.com/p/wikimodel
0 stars 0 forks source link

Modify XHTML parser so that it accepts escaping strategies #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is needed so that the XHTML parser can escape automatically characters
that have a meaning in a given wiki syntax.

We would have one escaping strategy per wiki syntax.

for example for xwiki syntax when the XHTML parser sees "**" it would
generate two onSpecialSymbol("*").

Original issue reported on code.google.com by vmas...@gmail.com on 2 Sep 2008 at 11:44

GoogleCodeExporter commented 8 years ago
Done. List of reserved keywords can now be passed to the Xhtml parser.

Original comment by vmas...@gmail.com on 13 Sep 2008 at 1:54

GoogleCodeExporter commented 8 years ago
Reopening since there are still problems.

For example for XWiki if the user enters at the beginning of a line:
1.
*
=

Original comment by vmas...@gmail.com on 18 Sep 2008 at 6:27

GoogleCodeExporter commented 8 years ago
Done

Original comment by vmas...@gmail.com on 19 Sep 2008 at 2:24

GoogleCodeExporter commented 8 years ago
This is actually incorrect since that escaping should be done at the level of 
the
listeners and not at the level of the parsers. Removing what I committed.

Original comment by vmas...@gmail.com on 8 Dec 2008 at 7:57