Details
-
Bug
-
Resolution: Solved By
-
Major
-
None
-
1.3.6
-
None
-
Unknown
-
Description
In DokuWiki, two closing equal signs are enough to close a heading regardless of the level, see source (so for example ======= Headline Level 1 === is a valid headline of level 1). XWiki's DokuWiki parser however always removes as many characters as expected from the input when closing the heading, leading to weird bugs when less equal signs are used. For example, this test case passes (I have really no idea where the other content got swallowed):
.#----------------------------------------------------- .input|dokuwiki/1.0 .#----------------------------------------------------- ======= Headline Level 1 === ==== Headline Level 3 ==== === Headline Level 4 === == Headline Level 5 == .#----------------------------------------------------- .expect|xwiki/2.1 .#----------------------------------------------------- = Headline Level 1 = = Headline Level 4 =
Attachments
Issue Links
- is related to
-
DOKUWIKI-40 Syntax inside table cells is not recognized
- Closed