Actions
Defect #25299
closedMarkdown pre-block could derive incorrect wiki sections
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
In markdown formatting, pre-block by ```
including #
derives incorrect wiki editable-sections.
Example:
# H1 ## H2 ``` ## pre-block ``` ### H3
Editing section "H2":
## H2 ```
and editing section "H3":
## pre-block ``` ### H3
As above, #
in pre-block is treated as markdown header.
NOTE pre-block by ~~~
does right results.
# H1 ## H2 ~~~ ## pre-block ~~~ ### H3
Editing "H2":
## H2 ~~~ ## pre-block ~~~ ### H3
and editing "H3":
### H3
I attached a fix patch.
Files
Related issues
Actions