Implement HTML ruby tags for east-asian languages (#30897)
This commit is contained in:
parent
9be77fc0db
commit
47f0faebc9
4 changed files with 21 additions and 1 deletions
|
@ -65,7 +65,7 @@ class Sanitize
|
|||
end
|
||||
|
||||
MASTODON_STRICT = freeze_config(
|
||||
elements: %w(p br span a del pre blockquote code b strong u i em ul ol li),
|
||||
elements: %w(p br span a del pre blockquote code b strong u i em ul ol li ruby rt rp),
|
||||
|
||||
attributes: {
|
||||
'a' => %w(href rel class translate),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue