dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "<ins>/<del> elements can be phrasing or flow" into REL1_31
[lhc/web/wiklou.git]
/
includes
/
json
/
FormatJson.php
diff --git
a/includes/json/FormatJson.php
b/includes/json/FormatJson.php
index
0c77a7b
..
bd6a365
100644
(file)
--- 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 === '*' )