mirror of
https://github.com/openwrt/luci.git
synced 2026-08-29 06:22:49 +04:00
build: escape backslashes in i18n strings
This commit is contained in:
@@ -28,6 +28,7 @@ sub dec_tpl_str
|
||||
$s =~ s/[\s\n]+/ /g;
|
||||
$s =~ s/^ //;
|
||||
$s =~ s/ $//;
|
||||
$s =~ s/\\/\\\\/g;
|
||||
return $s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user