summaryrefslogtreecommitdiff
path: root/source/html/html-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/html/html-layout.c')
-rw-r--r--source/html/html-layout.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c
index d6f63975..802b8288 100644
--- a/source/html/html-layout.c
+++ b/source/html/html-layout.c
@@ -2700,6 +2700,11 @@ fz_parse_html(fz_context *ctx, fz_html_font_set *set, fz_archive *zip, const cha
fz_rethrow(ctx);
}
+#ifndef NDEBUG
+ if (fz_atoi(getenv("FZ_DEBUG_XML")))
+ fz_debug_xml(root, 0);
+#endif
+
fz_try(ctx)
{
if (fz_xml_find(root, "FictionBook"))