Allow rendering GFM supported HTML tags in content editor
Problem to solve
GFM supports certain HTML tags and attributes along with writing markdown.
See the documentation for HTML::Pipeline’s SanitizationFilter class for the list of allowed HTML tags and attributes. In addition to the default SanitizationFilter allowlist, GitLab allows span, abbr, details and summary elements.
Proposal
Add support for the following elements:
Nodes:
-
div
!69235 (merged) -
dl dd dt
!69149 (merged) -
summary details
!69231 (merged) -
figure figcaption
!69235 (merged) -
wbr
!69365 (merged)
Marks:
-
ins abbr bdo cite dfn mark small span time kbd q samp var ruby rp rt sup sub
Edited by Himanshu Kapoor