fix mdoc2man.awk formatting for top-level lists
Reported by Glenn Golden Diagnosis and fix from Ingo Schwarze
This commit is contained in:
parent
b97739dc21
commit
8663e51c80
|
@ -321,6 +321,8 @@ function add(str) {
|
|||
w=nwords
|
||||
} else if(match(words[w],"^El$")) {
|
||||
optlist=oldoptlist
|
||||
if(!optlist)
|
||||
add(".PP")
|
||||
} else if(match(words[w],"^Bk$")) {
|
||||
if(match(words[w+1],"-words")) {
|
||||
w++
|
||||
|
|
Loading…
Reference in New Issue