diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-15 01:33:12 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-15 01:33:12 +0000 |
commit | 76a194cc65e1b59ce8ec8b2e23f8412ce9b83fbf (patch) | |
tree | 75a60bbe2c0b7ba34c5a44c37288e9aebb0ad635 /mdoc_html.c | |
parent | c73e1ec1c6a54b399da7b779448188ef6db6db68 (diff) | |
download | mandoc-76a194cc65e1b59ce8ec8b2e23f8412ce9b83fbf.tar.gz |
Added support for `Bd -centered', which appears in newer groffs (not yet implemented in centre-capable front-ends, i.e., -Thtml).
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |