markdown.ex: \n\n on >1 suggestions, 2-spaces on one
This commit is contained in:
parent
d6182a3c8f
commit
d2097fd0f5
1 changed files with 2 additions and 2 deletions
|
@ -74,13 +74,13 @@ defmodule Pleroma.Docs.Markdown do
|
||||||
|
|
||||||
defp print_suggestions(file, suggestions) do
|
defp print_suggestions(file, suggestions) do
|
||||||
if length(suggestions) > 1 do
|
if length(suggestions) > 1 do
|
||||||
IO.write(file, "Suggestions:\n")
|
IO.write(file, "\n\nSuggestions:\n")
|
||||||
|
|
||||||
for suggestion <- suggestions do
|
for suggestion <- suggestions do
|
||||||
print_suggestion(file, suggestion, true)
|
print_suggestion(file, suggestion, true)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
IO.write(file, "Suggestion:\n")
|
IO.write(file, " Suggestion: ")
|
||||||
|
|
||||||
print_suggestion(file, List.first(suggestions))
|
print_suggestion(file, List.first(suggestions))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue