The [[_TOC_]] mark is rendered in Preview, but is not translated, when the post is published
- GITLAB version: NA
Summary
-
The device is unusable -
The bug is the source of a data loss or a big waste of time -
The bug concerns a third party app -
The bug concerns security -
The bug concerns privacy
The problem
Steps to reproduce
Create a post/comment with
[[_TOC_]]
## Header A
## Header B
What is the current behavior?
[[_TOC_]]
is not rendered/translated, but is displayed as a text [[TOC]]
What is the expected correct behavior?
[[_TOC_]]
is rendered to the actual Table of Content
Technical informations
Specification in the manual https://gitlab.e.foundation/help/user/markdown#table-of-contents
Relevant logs (adb logcat
)
Relevant screenshots
Solutions
Workaround
Copy the generated TOC from the Preview and paste it as itemized list into the post body. This way the user automatically generated the TOC, but hardcopied it to post.
Possible fixes