From: rinpatch Date: Wed, 25 Nov 2020 08:30:58 +0000 (+0000) Subject: Merge branch 'features/ruby-elements' into 'develop' X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=c2bf67644e82c54de6da9b030640255119e8c229;hp=ddf23148364657b9eaa7cce463b7eafd8e98214d;p=akkoma Merge branch 'features/ruby-elements' into 'develop' scrubbers/default: Add ruby element and it's childs See merge request pleroma/pleroma!3172 --- diff --git a/priv/scrubbers/default.ex b/priv/scrubbers/default.ex index ea0480dcd..7b06994de 100644 --- a/priv/scrubbers/default.ex +++ b/priv/scrubbers/default.ex @@ -47,6 +47,11 @@ defmodule Pleroma.HTML.Scrubber.Default do Meta.allow_tag_with_these_attributes(:strong, []) Meta.allow_tag_with_these_attributes(:sub, []) Meta.allow_tag_with_these_attributes(:sup, []) + Meta.allow_tag_with_these_attributes(:ruby, []) + Meta.allow_tag_with_these_attributes(:rb, []) + Meta.allow_tag_with_these_attributes(:rp, []) + Meta.allow_tag_with_these_attributes(:rt, []) + Meta.allow_tag_with_these_attributes(:rtc, []) Meta.allow_tag_with_these_attributes(:u, []) Meta.allow_tag_with_these_attributes(:ul, [])