diff options
author | Alex Gleason <alex@alexgleason.me> | 2022-01-24 19:11:45 -0600 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2022-01-24 19:11:45 -0600 |
commit | d5644a52aa4f031c69a2938b333636660156c703 (patch) | |
tree | 2e4223fe925423b4e8df207fd3915f5b79ba6aad /priv/scrubbers | |
parent | 1bbc701a3ababc4c6e856ad24f8826da0a0ba1a3 (diff) | |
download | pleroma-d5644a52aa4f031c69a2938b333636660156c703.tar.gz pleroma-d5644a52aa4f031c69a2938b333636660156c703.zip |
ForceMentionsInContent: wrap inline mentions with span tag
Diffstat (limited to 'priv/scrubbers')
-rw-r--r-- | priv/scrubbers/default.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/scrubbers/default.ex b/priv/scrubbers/default.ex index 4694a92a5..f33a721a8 100644 --- a/priv/scrubbers/default.ex +++ b/priv/scrubbers/default.ex @@ -56,7 +56,7 @@ defmodule Pleroma.HTML.Scrubber.Default do Meta.allow_tag_with_these_attributes(:u, []) Meta.allow_tag_with_these_attributes(:ul, []) - Meta.allow_tag_with_this_attribute_values(:span, "class", ["h-card"]) + Meta.allow_tag_with_this_attribute_values(:span, "class", ["h-card", "recipients-inline"]) Meta.allow_tag_with_these_attributes(:span, []) Meta.allow_tag_with_this_attribute_values(:code, "class", ["inline"]) |