aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/docs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/docs')
-rw-r--r--lib/pleroma/docs/markdown.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pleroma/docs/markdown.ex b/lib/pleroma/docs/markdown.ex
index 58a42b323..d7ca97957 100644
--- a/lib/pleroma/docs/markdown.ex
+++ b/lib/pleroma/docs/markdown.ex
@@ -66,6 +66,8 @@ defmodule Pleroma.Docs.Markdown do
defp print_suggestions(_file, nil), do: nil
+ defp print_suggestions(_file, ""), do: nil
+
defp print_suggestions(file, suggestions) do
IO.write(file, "Suggestions:\n")