aboutsummaryrefslogtreecommitdiff
path: root/make-index
diff options
context:
space:
mode:
Diffstat (limited to 'make-index')
-rwxr-xr-xmake-index6
1 files changed, 5 insertions, 1 deletions
diff --git a/make-index b/make-index
index e743cd8..6f23cca 100755
--- a/make-index
+++ b/make-index
@@ -68,5 +68,9 @@ lappend mapping @INSERTINDEX@ [join $index \n]
# Output the result
foreach line $lines {
- puts [string map $mapping $line]
+ if {[string first ` $line] >= 0} {
+ puts [string map $mapping $line]
+ } else {
+ puts $line
+ }
}