diff -r 6a042a54e0f7 -r 385f60c94548 eric6/Plugins/CheckerPlugins/SyntaxChecker/jsonCheckSyntax.py --- a/eric6/Plugins/CheckerPlugins/SyntaxChecker/jsonCheckSyntax.py Sat Apr 10 17:54:58 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/SyntaxChecker/jsonCheckSyntax.py Sat Apr 10 18:31:17 2021 +0200 @@ -43,7 +43,7 @@ codestring = codestring.replace("\r\n", "\n").replace("\r", "\n") if codestring and codestring[-1] != '\n': - codestring = codestring + '\n' + codestring += '\n' return codestring