From 567d1426133f1d864eb909e92c16547245924df7 Mon Sep 17 00:00:00 2001 From: prpr Date: Mon, 19 Oct 2020 16:05:12 +0000 Subject: [PATCH] Prevent raw utf8 display https://hummy.tv/forum/threads/webif-web-interface-1-4-x.7712/post-135917 --- webif/html/browse/rename.jim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webif/html/browse/rename.jim b/webif/html/browse/rename.jim index 618f46b..1e3a07a 100755 --- a/webif/html/browse/rename.jim +++ b/webif/html/browse/rename.jim @@ -26,6 +26,9 @@ if {[file isdirectory $file]} { set new [string map {"\n" ""} [ string trim [cgi_get "rename_$attr"]]] set old [$ts get $attr] + if {$attr eq "title" || $attr eq "synopsis"} { + set new "\025$new" + } if {$new ne $old} { if {$attr eq "guidance" || [string length $new] > 0} {