Skip to content
Snippets Groups Projects
Commit ee6f1552 authored by kaniini's avatar kaniini
Browse files

CommonAPI post: kill \r with fire

parent b586ead6
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do
def make_content_html(status, mentions, attachments, tags, no_attachment_links \\ false) do
status
|> String.replace("\r", "")
|> format_input(mentions, tags)
|> maybe_add_attachments(attachments, no_attachment_links)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment