From ff9971487e60c2e6e8f7858745eea6520b1c0aa5 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 5 May 2017 02:06:19 +0000 Subject: Move handling of the roff(7) .ft request from the man(7) modules to the new roff(7) modules. As a side effect, mdoc(7) now handles .ft, too. Of course, do not use that. --- mdoc_markdown.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mdoc_markdown.c') diff --git a/mdoc_markdown.c b/mdoc_markdown.c index 07eb6a31..9d45b771 100644 --- a/mdoc_markdown.c +++ b/mdoc_markdown.c @@ -323,7 +323,10 @@ md_node(struct roff_node *n) } else if (n->tok < ROFF_MAX) { switch (n->tok) { case ROFF_br: - md_pre_br(n); + process_children = md_pre_br(n); + break; + case ROFF_ft: + process_children = 0; break; default: abort(); -- cgit