From 62398f9f200f26b7fb096fad556b0d90b817ee28 Mon Sep 17 00:00:00 2001 From: Damien Date: Sat, 15 Dec 2012 11:14:25 +0100 Subject: [PATCH] Fixed issue #06946: "Quick-add" fail to parse expressions with ' " ' --- scripts/admin/answers.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/admin/answers.js b/scripts/admin/answers.js index a19ecaf50d6..c134b2bddfa 100644 --- a/scripts/admin/answers.js +++ b/scripts/admin/answers.js @@ -614,12 +614,13 @@ function quickaddlabels() { thisrow[parseInt(x)+1]=thisrow[1]; } + var escaped_value = thisrow[parseInt(x)+1].replace('"', '"'); if (x==0) { - tablerows=tablerows+'' + tablerows=tablerows+'' } else { - tablerows=tablerows+'  ' + tablerows=tablerows+'  ' } }