From 7e3de4d68f777be7834ec59a735bb0f938e9b7c8 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 12 May 2014 13:51:29 +0000 Subject: we don't need to remove \ before ' coz this construction not correct git-svn-id: http://svn.miranda-ng.org/main/trunk@9162 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- tools/lpgen/lpgen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lpgen/lpgen.js b/tools/lpgen/lpgen.js index 9f40e691ea..85dcba9c89 100644 --- a/tools/lpgen/lpgen.js +++ b/tools/lpgen/lpgen.js @@ -449,7 +449,7 @@ function ParseSourceFile (FileTextVar,array) { //remove first and last " nofirstlaststring=noslashstring.slice(1, -1) //remove escape slashes before ' and " - stringtolangpack=nofirstlaststring.replace(/\\(['"])/g,"$1"); + stringtolangpack=nofirstlaststring.replace(/\\(")/g,"$1"); ///if our string still exist, and length at least one symbol if (stringtolangpack.length>0) { //brand new _T() crap filtering engine :) -- cgit v1.2.3