bryonjacob / wikimodel

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

Add support for underline as a format element and fix XWiki's scanner for "__" #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Wikimodel should support underline. It's pretty common in wikis, see
http://www.wikimatrix.org/syntax.php?i=25

In addition right now in XWikiScanner.jj there's:

            t = getFORMAT_SYMBOL()
            {
                str = t.image.trim();
                WikiStyle style = null;
                if ("__".equals(str) || "**".equals(str)) {
                    style  = IWikiScannerContext.STRONG;

This is not correct since "__" is used for underline in XWiki and not for Bold.

Thanks a lot
-Vincent

Original issue reported on code.google.com by vmas...@gmail.com on 14 Aug 2008 at 4:13

GoogleCodeExporter commented 8 years ago
see patches on http://code.google.com/p/wikimodel/issues/detail?id=34

Original comment by daning...@gmail.com on 19 Aug 2008 at 4:10

GoogleCodeExporter commented 8 years ago

Original comment by mikhail....@gmail.com on 27 Aug 2008 at 1:16