markdown.ex: do not fail if there is no children

develop
Haelwenn (lanodan) Monnier 2019-09-17 22:04:21 +02:00
parent e0d8c8897e
commit 106afaed58
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ defmodule Pleroma.Docs.Markdown do
IO.write(file, "#{group[:description]}\n")
for child <- group[:children] do
for child <- group[:children] || [] do
print_child_header(file, child)
print_suggestions(file, child[:suggestions])