summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2015-04-24 08:42:06 +0200
committerStefan Sauer <ensonic@users.sf.net>2015-04-24 08:42:41 +0200
commitfe561f956028d593410ff2b37b3d825a33388cd5 (patch)
tree14b69347ef99e22e1db83ccd4bfa59ce4c0beff2
parent7e726d47166387738e5b5d66e7f06fe7f65463c7 (diff)
downloadgtk-doc-fe561f956028d593410ff2b37b3d825a33388cd5.tar.gz
gtkdoc-mkdb: fix some invalid docbook
-rwxr-xr-xgtkdoc-mkdb.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index 3372fed..fee5cbb 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -2547,6 +2547,9 @@ sub OutputSGMLFile {
$object_anchors .= "<anchor id=\"$id\"$empty_element_end";
}
+ # Make sure we produce valid docbook
+ $$functions_details ||= "<para />";
+
# We used to output this, but is messes up our UpdateFileIfChanged code
# since it changes every day (and it is only used in the man pages):
# "<refentry id="$section_id" revision="$mday $month $year">"