Allow HTML lang attribute in remote posts (#39114)

This commit is contained in:
Artemis Tosini 2026-05-22 08:43:16 +00:00 committed by GitHub
parent 15a7507a09
commit c337487111
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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),
attributes: {
:all => %w(lang),
'a' => %w(href rel class translate),
'span' => %w(class translate),
'ol' => %w(start reversed),