Allow HTML lang attribute in remote posts (#39114)
This commit is contained in:
parent
15a7507a09
commit
c337487111
@ -107,6 +107,7 @@ class Sanitize
|
|||||||
elements: %w(p br span a del s pre blockquote code b strong u i em ul ol li ruby rt rp),
|
elements: %w(p br span a del s pre blockquote code b strong u i em ul ol li ruby rt rp),
|
||||||
|
|
||||||
attributes: {
|
attributes: {
|
||||||
|
:all => %w(lang),
|
||||||
'a' => %w(href rel class translate),
|
'a' => %w(href rel class translate),
|
||||||
'span' => %w(class translate),
|
'span' => %w(class translate),
|
||||||
'ol' => %w(start reversed),
|
'ol' => %w(start reversed),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user