Description
DokuWiki supports (inline) syntax inside table cells like HTML, formatting, line breaks or links. However, XWiki's DokuWiki parser ignores syntax inside table cells. Reproduction test case:
.#----------------------------------------------------- .input|dokuwiki/1.0 .#----------------------------------------------------- ^HTML (aligns right)^Formatting (aligns center)^Links (aligns left)^ | <html>Some HTML</html> | **Bold text** |[[https://xwiki.org|a link]]\\ [[:|Start page]] | Outside table .#----------------------------------------------------- .expect|event/1.0 .#----------------------------------------------------- beginDocument beginTable beginTableRow beginTableHeadCell onWord [HTML] onSpace onWord [(aligns] onSpace onWord [right)] endTableHeadCell beginTableHeadCell onWord [Formatting] onSpace onWord [(aligns] onSpace onWord [center)] endTableHeadCell beginTableHeadCell onWord [Links] onSpace onWord [(aligns] onSpace onWord [left)] endTableHeadCell endTableRow beginTableRow beginTableCell [[align]=[centre]] onWord [<html>Some] onSpace onWord [HTML</html>] endTableCell [[align]=[centre]] beginTableCell [[align]=[centre]] onWord [**Bold] onSpace onWord [text**] endTableCell [[align]=[centre]] beginTableCell onWord [[[https://xwiki.org] endTableCell beginTableCell onWord [a] onSpace onWord [link]]\\] onSpace onWord [[[:] endTableCell beginTableCell [[align]=[left]] onWord [Start] onSpace onWord [page]]] endTableCell [[align]=[left]] endTableRow endTable beginParagraph onWord [ Outside] onSpace onWord [table] endParagraph endDocument
Notice also how "word" events contain line breaks or special characters.
Rendering inside DokuWiki:
Attachments
Issue Links
- is related to
-
DOKUWIKI-19 Issue importing pages with character '>' in content
- Closed
-
DOKUWIKI-31 Lists and table syntax is recognized in the middle of a paragraph/list item
- Closed
- relates to
-
DOKUWIKI-29 Formatting breaks footnotes
- Closed
-
DOKUWIKI-30 Headings ending with less equal signs aren't handled correctly, leading to loss of content
- Closed
-
DOKUWIKI-41 Unclosed table cells leave the parser in a bad state, ignoring further syntax
- Closed