1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-28 01:25:09 +01:00

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
This commit is contained in:
kaniini 2019-08-15 17:34:16 +00:00
commit 1c8f58a30e

View File

@ -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", [])