projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a880e0a
)
Allow use of the `abbr` HTML tag.
author
scarlett
<nia@netbsd.org>
Tue, 30 Oct 2018 21:40:06 +0000
(21:40 +0000)
committer
scarlett
<nia@netbsd.org>
Tue, 30 Oct 2018 21:40:06 +0000
(21:40 +0000)
lib/pleroma/html.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/html.ex
b/lib/pleroma/html.ex
index a7338eac3681b6bd4804cf32674d57f5865da1cc..00b26963da070e4685be1ce6dbb128c7e7ff621e 100644
(file)
--- 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", [])