Commit 5a6b357e authored by unknown's avatar unknown

BUG#25340

parent 42a06b46
...@@ -134,6 +134,8 @@ function GetValue(str, key) ...@@ -134,6 +134,8 @@ function GetValue(str, key)
var end = str.indexOf("\n", pos); var end = str.indexOf("\n", pos);
if (str.charAt(pos) == "\"") if (str.charAt(pos) == "\"")
pos++; pos++;
if (str.charAt(end-1) == "\r")
end--;
if (str.charAt(end-1) == "\"") if (str.charAt(end-1) == "\"")
end--; end--;
return str.substring(pos, end); return str.substring(pos, end);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment