summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-04 22:16:27 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-04 22:16:27 +0000
commit60594285aadf7b17048d8d3b552c3b12563f3622 (patch)
tree3cac3cd457e34ddd0ba29522fd90c9818cb0538d /mdoc_html.c
parent14deda6326abdec269681291139d0ae022db56f9 (diff)
downloadmandoc-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.c3
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;