commit cb6ba0db1dcf6c6393ad8cf0d67de4b6c2159ce5
parent 30f9bd7bf1a34781cf3159ee2e0c0ec482005197
Author: Ellenor Bjornsdottir <ellenor@umbrellix.net>
Date: Wed, 14 Sep 2022 09:04:28 +0000
minor typo in title guessing code
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ussg-page b/ussg-page
@@ -499,7 +499,7 @@ namespace eval ::templcmds {
if {![catch {dict get $::headers title-separator} sep]} {set sep $sep} {set sep "::"}
set filename [string map [list [file normalize $prefix] ""] $::outputfile]
append title [format " %s " $sep]
- append title [string map [list "<" "<" ">" ">" [file separator] $sep] [string trimleft $filename [file separator]]]
+ append title [string map [list "<" "<" ">" ">" [file separator] [format " %s " $sep]] [string trimleft $filename [file separator]]]
}
puts $::outputfd [format "<title>%s</title>" $title]
}