summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/tcl8.1-tk8.1-man-html.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/tcl8.1-tk8.1-man-html.tcl b/tools/tcl8.1-tk8.1-man-html.tcl
index 3fbfeff..cb51f34 100644
--- a/tools/tcl8.1-tk8.1-man-html.tcl
+++ b/tools/tcl8.1-tk8.1-man-html.tcl
@@ -208,11 +208,12 @@ proc process-text {text} {
regsub -all \" $text {\"} text;
regsub -all {<} $text {\&lt;} text;
regsub -all {>} $text {\&gt;} text;
+ regsub -all {\\o'o\^'} $text {\&ocirc;} text; # o-circumflex in re_syntax.n
regsub -all {\\-\\\|\\-} $text -- text; # two hyphens
regsub -all -- {\\-\\\^\\-} $text -- text; # two hyphens
regsub -all {\\-} $text - text; # a hyphen
regsub -all {\\0} $text { } text; # a space
- # regsub -all {\\\|} $text | text; # a very thin space
+ regsub -all {\\\|} $text {\&nbsp;} text; # a very thin space
regsub -all {\\e} $text {\&#92;} text; # reverse solidus, ie backslash
regsub -all {\\\(\+-} $text {\&#177;} text; # plus or minus sign
regsub -all {\\fP} $text {\\fR} text; # a funky font in expr.n