diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-04 22:16:27 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-04 22:16:27 +0000 |
commit | 60594285aadf7b17048d8d3b552c3b12563f3622 (patch) | |
tree | 3cac3cd457e34ddd0ba29522fd90c9818cb0538d /mdoc_html.c | |
parent | 14deda6326abdec269681291139d0ae022db56f9 (diff) | |
download | mandoc-60594285aadf7b17048d8d3b552c3b12563f3622.tar.gz |
Fixed `Fn' newline behaviour and added some regression tests to this
extent.
Documented `Fn'. Please note the COMPATIBILITY note regarding historic
groff.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index 0f96cf63..f14b8fc5 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1584,7 +1584,8 @@ mdoc_fn_pre(MDOC_ARGS) int sz, i; struct roffsu su; - if (SEC_SYNOPSIS == n->sec && MDOC_LINE & n->flags) { + /* NB: MDOC_LINE has no effect on this macro! */ + if (SEC_SYNOPSIS == n->sec) { SCALE_HS_INIT(&su, INDENT); bufcat_su(h, "margin-left", &su); su.scale = -su.scale; |