Compare commits
1 Commits
ae9f51a0c8
...
6f521fd9bf
Author | SHA1 | Date |
---|---|---|
Erin Shepherd | 6f521fd9bf |
|
@ -47,7 +47,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.InlineQuotePolicy do
|
|||
if String.ends_with?(content, "</p>") do
|
||||
String.trim_trailing(content, "</p>") <> build_inline_quote(prefix, preferred_url) <> "</p>"
|
||||
else
|
||||
content <> build_inline_quote(prefix, quote_url)
|
||||
content <> build_inline_quote(prefix, preferred_url)
|
||||
end
|
||||
|
||||
Map.put(object, "content", content)
|
||||
|
|
Loading…
Reference in New Issue