From 6833508f150b9e1131c3e4446b71833171c103f0 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 31 Dec 2018 07:08:12 +0000 Subject: Move parsing of the .nf and .fi (fill mode) requests from the man(7) parser to the roff(7) parser. As a side effect, .nf and .fi are now also parsed in mdoc(7) input, though the mdoc(7) formatters still ignore most of their effect. --- roff_html.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'roff_html.c') diff --git a/roff_html.c b/roff_html.c index adcbbf5b..a4d4468d 100644 --- a/roff_html.c +++ b/roff_html.c @@ -1,4 +1,4 @@ -/* $Id: roff_html.c,v 1.15 2018/12/16 00:17:02 schwarze Exp $ */ +/* $Id: roff_html.c,v 1.16 2018/12/31 07:08:12 schwarze Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * Copyright (c) 2014, 2017, 2018 Ingo Schwarze @@ -38,9 +38,11 @@ static void roff_html_pre_sp(ROFF_HTML_ARGS); static const roff_html_pre_fp roff_html_pre_acts[ROFF_MAX] = { roff_html_pre_br, /* br */ roff_html_pre_ce, /* ce */ + roff_html_pre_br, /* fi */ roff_html_pre_ft, /* ft */ NULL, /* ll */ NULL, /* mc */ + roff_html_pre_br, /* nf */ NULL, /* po */ roff_html_pre_ce, /* rj */ roff_html_pre_sp, /* sp */ -- cgit v1.2.3