From 0d6d73d875686a245d66f50211eb4d9ad5b8517d Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 16 Apr 2015 20:22:27 +0000 Subject: Restore the page headers and page footers that accidentally got lost in rev. 1.225. Regression reported by florian@. --- mdoc_html.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/mdoc_html.c b/mdoc_html.c index f785e8f4..82b419c7 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.229 2015/04/02 23:48:20 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.230 2015/04/16 20:22:27 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014, 2015 Ingo Schwarze @@ -350,7 +350,9 @@ print_mdoc(MDOC_ARGS) } else t = print_otag(h, TAG_DIV, 1, &tag); + mdoc_root_pre(meta, n, h); print_mdoc_nodelist(meta, n, h); + mdoc_root_post(meta, n, h); print_tagq(h, t); } @@ -391,9 +393,6 @@ print_mdoc_node(MDOC_ARGS) n->flags &= ~MDOC_ENDED; switch (n->type) { - case ROFFT_ROOT: - child = mdoc_root_pre(meta, n, h); - break; case ROFFT_TEXT: /* No tables in this mode... */ assert(NULL == h->tblt); @@ -451,9 +450,6 @@ print_mdoc_node(MDOC_ARGS) print_stagq(h, t); switch (n->type) { - case ROFFT_ROOT: - mdoc_root_post(meta, n, h); - break; case ROFFT_EQN: break; default: -- cgit v1.2.3-56-ge451