aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaniini <nenolod@gmail.com>2018-10-30 23:22:48 +0000
committerkaniini <nenolod@gmail.com>2018-10-30 23:22:48 +0000
commit5fea3d9eca7da14579aac143bfca3d0f74e63310 (patch)
treec946c2846a3dd3776487a4fb02820031287ffa40
parentc5948996f695d32c4d57c60562cc198956461bce (diff)
parent795634c90f2cabbf366b9caf8fa6efd2870c1cb6 (diff)
downloadpleroma-5fea3d9eca7da14579aac143bfca3d0f74e63310.tar.gz
Merge branch 'allow-abbr' into 'develop'
Allow use of the `abbr` HTML tag. See merge request pleroma/pleroma!405
-rw-r--r--lib/pleroma/html.ex2
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", [])