aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-09-17 22:33:32 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-09-17 23:05:27 +0200
commitd2097fd0f5d5d6750de09243cb5720b161305790 (patch)
tree8a97416c32582584b18fc58ac9d893b0ee644d75
parentd6182a3c8fef6377c20bb827a8e86bdac5bfb125 (diff)
downloadpleroma-d2097fd0f5d5d6750de09243cb5720b161305790.tar.gz
markdown.ex: \n\n on >1 suggestions, 2-spaces on one
-rw-r--r--lib/pleroma/docs/markdown.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/docs/markdown.ex b/lib/pleroma/docs/markdown.ex
index fc6389064..280fe0309 100644
--- a/lib/pleroma/docs/markdown.ex
+++ b/lib/pleroma/docs/markdown.ex
@@ -74,13 +74,13 @@ defmodule Pleroma.Docs.Markdown do
defp print_suggestions(file, suggestions) do
if length(suggestions) > 1 do
- IO.write(file, "Suggestions:\n")
+ IO.write(file, "\n\nSuggestions:\n")
for suggestion <- suggestions do
print_suggestion(file, suggestion, true)
end
else
- IO.write(file, "Suggestion:\n")
+ IO.write(file, " Suggestion: ")
print_suggestion(file, List.first(suggestions))
end