Help page text uses default sanitization but is not formatted as Markdown or Wiki
Summary
The extra help text added to the beginning of the help page is rendered via the default Markdown sanitization but not wrapped in .wiki or .md like the other rendered text. This means this text and tables in it are not properly formatted, nor can it be formatted by hand via inline HTML.
Steps to reproduce
- Go to https://gitlab.example.com/admin/application_settings/preferences
- Setup a help text including headings and tables.
- Go to https://gitlab.example.com/help, see if the included tables are properly formatted.
Example Project
https://salsa-test.debian.net/help
What is the current bug behavior?
Tables in the upper own help text block look different to the ones added from the GitLab documentation in the bottom block.
What is the expected correct behavior?
Both the own text on the top and the GitLab provided text should be rendered the same.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
There are two possible fixes:
- Disable sanitization of the HTML output so all inline HTML is allowed for such admin defined fields.
- Wrap the markdown field in
.wiki(and add a separate help heading).