diff options
author | scarlett <nia@netbsd.org> | 2018-10-30 21:40:06 +0000 |
---|---|---|
committer | scarlett <nia@netbsd.org> | 2018-10-30 21:40:06 +0000 |
commit | 795634c90f2cabbf366b9caf8fa6efd2870c1cb6 (patch) | |
tree | f3c8940f9e3e9ef16f9ede5154023235f9f86b0b | |
parent | a880e0a5278110031ad14bfd5c24e8054e878d9d (diff) | |
download | pleroma-795634c90f2cabbf366b9caf8fa6efd2870c1cb6.tar.gz |
Allow use of the `abbr` HTML tag.
-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 a7338eac3..00b26963d 100644 --- a/lib/pleroma/html.ex +++ b/lib/pleroma/html.ex @@ -91,6 +91,8 @@ defmodule Pleroma.HTML.Scrubber.Default do Meta.allow_tag_with_uri_attributes("a", ["href"], @valid_schemes) Meta.allow_tag_with_these_attributes("a", ["name", "title"]) + Meta.allow_tag_with_these_attributes("abbr", ["title"]) + Meta.allow_tag_with_these_attributes("b", []) Meta.allow_tag_with_these_attributes("blockquote", []) Meta.allow_tag_with_these_attributes("br", []) |