diff options
author | kaniini <nenolod@gmail.com> | 2018-10-30 23:22:48 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2018-10-30 23:22:48 +0000 |
commit | 5fea3d9eca7da14579aac143bfca3d0f74e63310 (patch) | |
tree | c946c2846a3dd3776487a4fb02820031287ffa40 /lib | |
parent | c5948996f695d32c4d57c60562cc198956461bce (diff) | |
parent | 795634c90f2cabbf366b9caf8fa6efd2870c1cb6 (diff) | |
download | pleroma-5fea3d9eca7da14579aac143bfca3d0f74e63310.tar.gz |
Merge branch 'allow-abbr' into 'develop'
Allow use of the `abbr` HTML tag.
See merge request pleroma/pleroma!405
Diffstat (limited to 'lib')
-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", []) |