From 76a194cc65e1b59ce8ec8b2e23f8412ce9b83fbf Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 15 Oct 2009 01:33:12 +0000 Subject: Added support for `Bd -centered', which appears in newer groffs (not yet implemented in centre-capable front-ends, i.e., -Thtml). --- mdoc_html.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index 89998348..c38c5e6c 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1357,6 +1357,8 @@ mdoc_bd_pre(MDOC_ARGS) case (MDOC_Compact): comp = 1; break; + case (MDOC_Centred): + /* FALLTHROUGH */ case (MDOC_Ragged): /* FALLTHROUGH */ case (MDOC_Filled): @@ -1366,6 +1368,8 @@ mdoc_bd_pre(MDOC_ARGS) case (MDOC_Literal): type = bl->args->argv[i].arg; break; + default: + break; } if (MDOC_BLOCK == n->type) { -- cgit