mirror of https://git.openwrt.org/project/luci.git
build: escape backslashes in i18n strings
This commit is contained in:
parent
4b235b5724
commit
c60254089d
|
@ -28,6 +28,7 @@ sub dec_tpl_str
|
|||
$s =~ s/[\s\n]+/ /g;
|
||||
$s =~ s/^ //;
|
||||
$s =~ s/ $//;
|
||||
$s =~ s/\\/\\\\/g;
|
||||
return $s;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue