Skip to content

Docs feedback: Separate HTML section with white listed tags / attributes

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Insight

GitLab has some good documentation on GitLab flavored markdown. Developers, especially those using GFLM for README.md pages, would benefit from having an additional level of documentation for HTML.

Supporting evidence

GitLab currently mentions use of HTML and has a "white-list" available through the sanitization filter. However, there is no dedicated HTML section in the documentation.

Action

Add a sub-section in the Markdown documentation for HTML that provides whitelisted html tags and attributes in a user friendly way.

Resources

GitLab flavored markdown documentation. https://docs.gitlab.com/ee/user/markdown.html

GitLab HTML-Pipeline/sanitizaiton filter https://github.com/gjtorikian/html-pipeline/blob/v2.12.3/lib/html/pipeline/sanitization_filter.rb#L42

Edited by 🤖 GitLab Bot 🤖