Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
86525e3a
Commit
86525e3a
authored
Mar 31, 2018
by
lain
Browse files
Use correct linefeed.
parent
1b039817
Pipeline
#1034
passed with stage
in 3 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/gopher/server.ex
View file @
86525e3a
...
...
@@ -82,7 +82,7 @@ def render_activities(activities) do
link
(
"Post #
#{
activity
.
id
}
by
#{
user
.
nickname
}
"
,
"/notices/
#{
activity
.
id
}
"
)
<>
info
(
"
#{
like_count
}
likes,
#{
announcement_count
}
repeats"
)
<>
"
\r\n
"
<>
info
(
HtmlSanitizeEx
.
strip_tags
(
String
.
replace
(
activity
.
data
[
"object"
][
"content"
],
"<br>"
,
"
\
n
"
)))
"
\r\n
"
<>
info
(
HtmlSanitizeEx
.
strip_tags
(
String
.
replace
(
activity
.
data
[
"object"
][
"content"
],
"<br>"
,
"
\
r
"
)))
end
)
|>
Enum
.
join
(
"
\r\n
"
)
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment