mdoc2man: process Dl macros

`Dl` marks a single line as 'literal'. Since we don't output single
lines differently in literal vs regular mode (we only insert line
breaks for multi-line blocks in literal mode), we can just skip it.
This commit is contained in:
Arnout Engelen
2025-06-21 09:47:28 +02:00
committed by Darren Tucker
parent 45e2d8861b
commit a4e404a64b

View File

@@ -95,6 +95,8 @@ function add(str) {
} else if(match(words[w],"^Ed$")) {
skip=1
literal=0
} else if(match(words[w],"^Dl$")) {
skip=1
} else if(match(words[w],"^Ns$")) {
skip=1
if(!nospace)