Allow use of the `abbr` HTML tag.
authorscarlett <nia@netbsd.org>
Tue, 30 Oct 2018 21:40:06 +0000 (21:40 +0000)
committerscarlett <nia@netbsd.org>
Tue, 30 Oct 2018 21:40:06 +0000 (21:40 +0000)
lib/pleroma/html.ex

index a7338eac3681b6bd4804cf32674d57f5865da1cc..00b26963da070e4685be1ce6dbb128c7e7ff621e 100644 (file)
@@ -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", [])