forked from treehouse/mastodon
Allow "class" attribute on the "a" tag in sanitization (#3623)
This preserves `<a ... class="u-url mention">` from other Mastodon instances.signup-info-prompt
parent
28d2920472
commit
6bd6dcf6df
|
@ -8,7 +8,7 @@ class Sanitize
|
|||
elements: %w(p br span a),
|
||||
|
||||
attributes: {
|
||||
'a' => %w(href rel),
|
||||
'a' => %w(href rel class),
|
||||
'span' => %w(class),
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue