Details
-
Bug
-
Resolution: Unresolved
-
Major
-
8.9.1
-
None
-
Unknown
-
Description
When rendering to markdown/1.2, a code macro without language located right after a list is rendered as an indented code block. Once parsed back, the indented code block is considered as a continuation of the last list item (it becomes a paragraph in that item).
Steps to reproduce
Render the following xwiki/2.1 content to markdown/1.2 and parse it back:
* a
{{code}}x{{/code}}
Result
* a
x
which is parsed back as a list item containing a and x.
Expected
The code block stays a top-level code block.