From: Haelwenn (lanodan) Monnier Date: Tue, 17 Sep 2019 20:33:32 +0000 (+0200) Subject: markdown.ex: \n\n on >1 suggestions, 2-spaces on one X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d2097fd0f5d5d6750de09243cb5720b161305790;p=akkoma markdown.ex: \n\n on >1 suggestions, 2-spaces on one --- 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