diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-08-14 22:48:44 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-08-14 22:49:13 +0200 |
commit | a6a814420ded3973b271d04b29b4d6ad24b6bdf7 (patch) | |
tree | a8edf8d782ef8d8473865221d47d4f60750639e7 | |
parent | 31d576de0c91019d80e465984d4423779e7ccede (diff) | |
download | pleroma-a6a814420ded3973b271d04b29b4d6ad24b6bdf7.tar.gz |
html.ex: Allow sub and sup elements by default
Closes: https://git.pleroma.social/pleroma/pleroma/issues/1191
-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", []) |