logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: c2bf67644e82c54de6da9b030640255119e8c229
parent ddf23148364657b9eaa7cce463b7eafd8e98214d
Author: rinpatch <rinpatch@sdf.org>
Date:   Wed, 25 Nov 2020 08:30:58 +0000

Merge branch 'features/ruby-elements' into 'develop'

scrubbers/default: Add ruby element and it's childs

See merge request pleroma/pleroma!3172

Diffstat:

Mpriv/scrubbers/default.ex5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git 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, [])