mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 10:09:02 +00:00
markdown.ex: \n\n on >1 suggestions, 2-spaces on one
This commit is contained in:
parent
d6182a3c8f
commit
d2097fd0f5
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue