Update sanitization rules to allow footnotes markup to match the original structure
This is related to #35892.
The sanitisation rules should allow footnotes markup to render as they are generated by commonmark gem for easier customisations.
Updated by Marius BĂLTEANU over 1 year ago
This is how it looks without
And I think it is useful to have the
data-footnote-* attributes, the class and even the section element. I've already some working code to obtain this.
What do you think?
Updated by Holger Just over 1 year ago
I'm not opposed to this :)
I'm not sure the data attributes are required for us, given that we don't have anything in Redmine which wants this (specifically: no browser JS leveraging those attributes).
class attributes are probably useful though, as might be the