Allow more flexibility in InlineQuotePolicy

This commit is contained in:
tusooa 2023-07-12 09:30:43 -04:00
commit 2c70857f9f
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
6 changed files with 50 additions and 9 deletions

View file

@ -38,6 +38,7 @@ defmodule Pleroma.HTML.Scrubber.Default do
Meta.allow_tag_with_these_attributes(:abbr, ["title", "lang"])
Meta.allow_tag_with_these_attributes(:b, ["lang"])
Meta.allow_tag_with_these_attributes(:bdi, [])
Meta.allow_tag_with_these_attributes(:blockquote, ["lang"])
Meta.allow_tag_with_these_attributes(:br, ["lang"])
Meta.allow_tag_with_these_attributes(:code, ["lang"])