diff options
author | kaniini <ariadne@dereferenced.org> | 2019-08-15 17:34:16 +0000 |
---|---|---|
committer | kaniini <ariadne@dereferenced.org> | 2019-08-15 17:34:16 +0000 |
commit | 1c8f58a30e7691d23ecece3dd3b2f5c5ef5d0137 (patch) | |
tree | 4a6ccc3281ad863d02ea8814bd12932aed7726ad | |
parent | aefb9cdee84be0d4c5ba50c4f2b2f34c7d963fbe (diff) | |
parent | a6a814420ded3973b271d04b29b4d6ad24b6bdf7 (diff) | |
download | pleroma-1c8f58a30e7691d23ecece3dd3b2f5c5ef5d0137.tar.gz |
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
-rw-r--r-- | lib/pleroma/html.ex | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex index 2fae7281c..06e60cba3 100644 --- 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", []) |