Skip to content

Commit 2787c04

Browse files
committed
Fixing issue #2: notepad++ was hanging. Now the correct json is formatted properly.
1 parent 5709ffa commit 2787c04

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

NppJSONViewer/json.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,11 +1101,6 @@ json_format_string (const char *text)
11011101
{
11021102
rcs_catc (output, '\\');
11031103
pos++;
1104-
if (text[pos] == '\"') /* don't consider a \" escaped sequence as an end of string */
1105-
{
1106-
rcs_catc (output, '\"');
1107-
pos++;
1108-
}
11091104
}
11101105
else if (text[pos] == '\"') /* reached end of string */
11111106
{

0 commit comments

Comments
 (0)