projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix formatter
[akkoma]
/
lib
/
pleroma
/
web
/
common_api
/
utils.ex
diff --git
a/lib/pleroma/web/common_api/utils.ex
b/lib/pleroma/web/common_api/utils.ex
index 20123854d5b922b0fc276bfc100cad1488d47344..e4b9102c50b968dc0751c70975559183af5dbb47 100644
(file)
--- a/
lib/pleroma/web/common_api/utils.ex
+++ b/
lib/pleroma/web/common_api/utils.ex
@@
-186,9
+186,9
@@
defmodule Pleroma.Web.CommonAPI.Utils do
options = Keyword.put(options, :mentions_escape, true)
text
options = Keyword.put(options, :mentions_escape, true)
text
- |> Formatter.html_escape("text/html")
|> Formatter.linkify(options)
|> (fn {text, mentions, tags} -> {Earmark.as_html!(text), mentions, tags} end).()
|> Formatter.linkify(options)
|> (fn {text, mentions, tags} -> {Earmark.as_html!(text), mentions, tags} end).()
+ |> Formatter.html_escape("text/html")
end
def make_note_data(
end
def make_note_data(