diff options
author | rinpatch <rinpatch@sdf.org> | 2020-11-25 08:30:58 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-11-25 08:30:58 +0000 |
commit | c2bf67644e82c54de6da9b030640255119e8c229 (patch) | |
tree | a223b2458d0956553692fea3d6dd2bcda85a01f6 | |
parent | ddf23148364657b9eaa7cce463b7eafd8e98214d (diff) | |
parent | 3cfc20083ecc804713eb90cae6e4dec60d353fa5 (diff) | |
download | pleroma-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.ex | 5 |
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, []) |