logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 1c8f58a30e7691d23ecece3dd3b2f5c5ef5d0137
parent: aefb9cdee84be0d4c5ba50c4f2b2f34c7d963fbe
Author: kaniini <ariadne@dereferenced.org>
Date:   Thu, 15 Aug 2019 17:34:16 +0000

Merge branch 'features/formatting-sub_sup' into 'develop'

html.ex: Allow sub and sup elements by default

Closes #1191

See merge request pleroma/pleroma!1572

Diffstat:

Mlib/pleroma/html.ex2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex @@ -203,6 +203,8 @@ defmodule Pleroma.HTML.Scrubber.Default do Meta.allow_tag_with_these_attributes("p", []) Meta.allow_tag_with_these_attributes("pre", []) 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("u", []) Meta.allow_tag_with_these_attributes("ul", [])