Merge commit '389a6cc4c0
' into upstream-20231108
This commit is contained in:
commit
08f86bcb8f
107 changed files with 970 additions and 703 deletions
|
@ -87,7 +87,7 @@ class Sanitize
|
|||
current_node.wrap('<p></p>')
|
||||
end
|
||||
|
||||
MASTODON_STRICT ||= freeze_config(
|
||||
MASTODON_STRICT = freeze_config(
|
||||
elements: %w(p br span a del pre blockquote code b strong u i em ul ol li),
|
||||
|
||||
attributes: {
|
||||
|
@ -115,7 +115,7 @@ class Sanitize
|
|||
]
|
||||
)
|
||||
|
||||
MASTODON_OEMBED ||= freeze_config(
|
||||
MASTODON_OEMBED = freeze_config(
|
||||
elements: %w(audio embed iframe source video),
|
||||
|
||||
attributes: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue