Added change to scape double quotes

This commit is contained in:
Arturo Gonzalez 2017-09-22 14:42:26 +02:00
parent 07ba50e499
commit 9e01eda73d
1 changed files with 2 additions and 0 deletions

View File

@ -5520,6 +5520,8 @@ sub cli_export_visual_console() {
$first = 0; $first = 0;
} }
$label =~ s/"/\\"/g;
$data_to_json .= '{"image":"' . $image . '"'; $data_to_json .= '{"image":"' . $image . '"';
$data_to_json .= ',"pos_y":' . $pos_y; $data_to_json .= ',"pos_y":' . $pos_y;
$data_to_json .= ',"pos_x":' . $pos_x; $data_to_json .= ',"pos_x":' . $pos_x;