Prevent raw utf8 display
https://hummy.tv/forum/threads/webif-web-interface-1-4-x.7712/post-135917
This commit is contained in:
parent
1b11be6827
commit
567d142613
@ -26,6 +26,9 @@ if {[file isdirectory $file]} {
|
|||||||
set new [string map {"\n" ""} [
|
set new [string map {"\n" ""} [
|
||||||
string trim [cgi_get "rename_$attr"]]]
|
string trim [cgi_get "rename_$attr"]]]
|
||||||
set old [$ts get $attr]
|
set old [$ts get $attr]
|
||||||
|
if {$attr eq "title" || $attr eq "synopsis"} {
|
||||||
|
set new "\025$new"
|
||||||
|
}
|
||||||
if {$new ne $old} {
|
if {$new ne $old} {
|
||||||
if {$attr eq "guidance" ||
|
if {$attr eq "guidance" ||
|
||||||
[string length $new] > 0} {
|
[string length $new] > 0} {
|
||||||
|
Loading…
Reference in New Issue
Block a user