X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fjson%2FFormatJson.php;h=bd6a365466052c8700707cd31a9984387bd5252b;hp=0c77a7bcc2d90bae6958602e6ce254022bb5b333;hb=942728ab20e01bba200031b01eb606ee59279bd2;hpb=856645fec936d5edb7be599091fc9376a3ce4920;ds=sidebyside diff --git a/includes/json/FormatJson.php b/includes/json/FormatJson.php index 0c77a7bcc2..bd6a365466 100644 --- a/includes/json/FormatJson.php +++ b/includes/json/FormatJson.php @@ -294,7 +294,7 @@ class FormatJson { $lookAhead = ( $idx + 1 < $maxLen ) ? $str[$idx + 1] : ''; $lookBehind = ( $idx - 1 >= 0 ) ? $str[$idx - 1] : ''; if ( $inString ) { - continue; + break; } elseif ( !$inComment && ( $lookAhead === '/' || $lookAhead === '*' )