diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-05 02:06:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-05 02:06:19 +0000 |
commit | ff9971487e60c2e6e8f7858745eea6520b1c0aa5 (patch) | |
tree | 59ed19f97ba7de3fc79a7183395fb59dfe16985f /mdoc_markdown.c | |
parent | 9ec7fd0e6d519550b4d3ae0ae9dd5c53d10e6cab (diff) | |
download | mandoc-ff9971487e60c2e6e8f7858745eea6520b1c0aa5.tar.gz |
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.
Diffstat (limited to 'mdoc_markdown.c')
-rw-r--r-- | mdoc_markdown.c | 5 |
1 files changed, 4 insertions, 1 deletions
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(); |