bryonjacob / wikimodel

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

XHTML parser doesn't support DEL for striked out text #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
input: <del>strikedout</del>

The del tags are ignored and it simply generates an on word event

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

GoogleCodeExporter commented 8 years ago
I run the test with XhtmlParser and EventDumpListener, the result as follow.

beginDocument()
    beginParagraph([])
        beginFormat([])
            onWord('del')
        endFormat([])
    endParagraph([])
endDocument()

There is a beginFormat event.

Original comment by daning...@gmail.com on 15 Aug 2008 at 3:09

GoogleCodeExporter commented 8 years ago
I'm wrong. I found every word begin with a beginFormat event. Foget my last 
post.

Original comment by daning...@gmail.com on 15 Aug 2008 at 3:11

GoogleCodeExporter commented 8 years ago
a patch makes Xhtmlparser support for <del> <s> <strike> <u> <ins> <sup> <sub> 
<mono>

Original comment by daning...@gmail.com on 19 Aug 2008 at 8:01

Attachments:

GoogleCodeExporter commented 8 years ago
the patch for xwikiscanner. With this patch, can parser xwiki syntax correctly 
for
__underline__
--strike--
~~italic~~
^^sup^^
,,sub,,
##mono##

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

Attachments:

GoogleCodeExporter commented 8 years ago
this patch add test for the baseformat for xhtml parser and xwiki syntax parser

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

Attachments:

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
I checked out the latest code and run maven install. I got the test failure. I 
don't
think this issue is fixed.

Original comment by daning...@gmail.com on 28 Aug 2008 at 4:47