summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2016-11-02 01:42:49 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2016-11-02 01:42:49 (GMT)
commitb9a27c7e1b9c334d15b042404b291c62708bf44a (patch)
treee054d21214ae1efa2c36af718349cefd297b45af /tools
parenta1b3e256e7d1607cf66fd65931a60d041d3ba566 (diff)
downloadtcl-b9a27c7e1b9c334d15b042404b291c62708bf44a.zip
tcl-b9a27c7e1b9c334d15b042404b291c62708bf44a.tar.gz
tcl-b9a27c7e1b9c334d15b042404b291c62708bf44a.tar.bz2
Fix the generated copyright sections in the HTML help file.htmlCopyrightsFix
Diffstat (limited to 'tools')
-rw-r--r--tools/tcltk-man2html-utils.tcl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/tcltk-man2html-utils.tcl b/tools/tcltk-man2html-utils.tcl
index 8fd1245..9052049 100644
--- a/tools/tcltk-man2html-utils.tcl
+++ b/tools/tcltk-man2html-utils.tcl
@@ -57,9 +57,14 @@ proc copyright {copyright {level {}}} {
}
proc copyout {copyrights {level {}}} {
+ set count 0
set out "<div class=\"copy\">"
foreach c $copyrights {
+ if {$count > 0} {
+ append out <BR>
+ }
append out "[copyright $c $level]\n"
+ incr count
}
append out "</div>"
return $out