th: sanitizer config: add quote-inline span to allowlist

th-downstream
Ariadne Conill 2 years ago
parent 900abce926
commit 9c60149f15

@ -31,6 +31,7 @@ class Sanitize
next true if /^(h|p|u|dt|e)-/.match?(e) # microformats classes
next true if /^(mention|hashtag)$/.match?(e) # semantic classes
next true if /^(ellipsis|invisible)$/.match?(e) # link formatting classes
next true if /^quote-inline$/.match?(e) # quote inline classes
end
node['class'] = class_list.join(' ')

Loading…
Cancel
Save