summaryrefslogtreecommitdiffstats
path: root/tools/tcltk-man2html-utils.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-24 15:18:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-24 15:18:05 (GMT)
commitc7771a763e2451560f1667170fba99a679e1e9eb (patch)
treef69f8d14663fb1a9942f405ac45b74499c3a48b9 /tools/tcltk-man2html-utils.tcl
parent6c1bdd15d6fabcc595c0fefdb9994800f21cf07d (diff)
downloadtcl-c7771a763e2451560f1667170fba99a679e1e9eb.zip
tcl-c7771a763e2451560f1667170fba99a679e1e9eb.tar.gz
tcl-c7771a763e2451560f1667170fba99a679e1e9eb.tar.bz2
Enhance html generation, so it can handle the "©" copy-sign as well
Diffstat (limited to 'tools/tcltk-man2html-utils.tcl')
-rw-r--r--tools/tcltk-man2html-utils.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tcltk-man2html-utils.tcl b/tools/tcltk-man2html-utils.tcl
index 78aa8ec..63e1fb9 100644
--- a/tools/tcltk-man2html-utils.tcl
+++ b/tools/tcltk-man2html-utils.tcl
@@ -1271,7 +1271,7 @@ proc output-directive {line} {
##
proc merge-copyrights {l1 l2} {
set merge {}
- set re1 {^Copyright +(?:\(c\)|\\\(co|&copy;) +(\w.*?)(?:all rights reserved)?(?:\. )*$}
+ set re1 {^Copyright +(?:\(c\)|\\\(©|co|&copy;) +(\w.*?)(?:all rights reserved)?(?:\. )*$}
set re2 {^(\d+) +(?:by +)?(\w.*)$} ;# date who
set re3 {^(\d+)-(\d+) +(?:by +)?(\w.*)$} ;# from to who
set re4 {^(\d+), *(\d+) +(?:by +)?(\w.*)$} ;# date1 date2 who