aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-11-25 08:30:58 +0000
committerrinpatch <rinpatch@sdf.org>2020-11-25 08:30:58 +0000
commitc2bf67644e82c54de6da9b030640255119e8c229 (patch)
treea223b2458d0956553692fea3d6dd2bcda85a01f6
parentddf23148364657b9eaa7cce463b7eafd8e98214d (diff)
parent3cfc20083ecc804713eb90cae6e4dec60d353fa5 (diff)
downloadpleroma-c2bf67644e82c54de6da9b030640255119e8c229.tar.gz
Merge branch 'features/ruby-elements' into 'develop'
scrubbers/default: Add ruby element and it's childs See merge request pleroma/pleroma!3172
-rw-r--r--priv/scrubbers/default.ex5
1 files changed, 5 insertions, 0 deletions
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, [])