mirror of
https://github.com/openssh/openssh-portable.git
synced 2026-01-12 00:04:08 +08:00
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:
committed by
Darren Tucker
parent
45e2d8861b
commit
a4e404a64b
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user