forked from hummypkg/webif
Merge pull request 'prpr-patch-rename-utf8' (#20) from prpr/webif:prpr-patch-rename-utf8 into master
Reviewed-on: hummypkg/webif#20
This commit is contained in:
commit
e3f7a2b738
@ -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} {
|
||||
|
Loading…
Reference in New Issue
Block a user