Skip to content

Commit

Permalink
Fix [8e811bc1f1]: Wrong formatting of arguments in man page
Browse files Browse the repository at this point in the history
  • Loading branch information
fvogel committed Dec 28, 2022
1 parent 5c610ea commit 143059a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/tcltk-man2html-utils.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ proc output-IP-list {context code rest} {
backup-text 1
set accept_RE 0
set para {}
set endpara {}
while {[more-text]} {
set line [next-text]
if {[is-a-directive $line]} {
Expand All @@ -594,7 +595,7 @@ proc output-IP-list {context code rest} {
continue
}
if {$manual(section) eq "ARGUMENTS"} {
man-puts "$para<DT>$rest<DD>"
man-puts "$para<DT>$rest<DD>$endpara"
} elseif {[regexp {^\[([\da-f]+)\]$} $rest -> value]} {
man-puts "$para<LI value=\"$value\">"
} elseif {[regexp {^\(?([\da-f]+)\)$} $rest -> value]} {
Expand Down Expand Up @@ -664,6 +665,7 @@ proc output-IP-list {context code rest} {
man-puts $line
}
set para <P>
set endpara </P>
}
man-puts "$para$enddl"
lappend manual(section-toc) $enddl
Expand Down

0 comments on commit 143059a

Please sign in to comment.