summaryrefslogtreecommitdiffstats
path: root/mdoc_markdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_markdown.c')
-rw-r--r--mdoc_markdown.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc_markdown.c b/mdoc_markdown.c
index 1dbdb401..ff797bfd 100644
--- a/mdoc_markdown.c
+++ b/mdoc_markdown.c
@@ -1151,7 +1151,8 @@ md_pre_It(struct roff_node *n)
case ROFFT_HEAD:
bln = n->parent->parent;
- if (bln->norm->Bl.comp == 0)
+ if (bln->norm->Bl.comp == 0 &&
+ bln->norm->Bl.type != LIST_column)
outflags |= MD_sp;
outflags |= MD_nl;
@@ -1180,6 +1181,9 @@ md_pre_It(struct roff_node *n)
printf("%d.\t", ++bln->norm->Bl.count);
escflags &= ~ESC_FON;
break;
+ case LIST_column:
+ outflags |= MD_br;
+ return 0;
default:
return 0;
}