X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjson%2FFormatJson.php;h=b99b0b826cecd71cb35a7ff2e8901783ebb5b884;hb=dc6d8d2c3e4822ec9a4387255218e63a60aea6fe;hp=acbbf2604f9ca13819a1c6c0c07554a8cc27bfb9;hpb=285080c3116a1f99285d05e5bb1eab167ea89d6f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/json/FormatJson.php b/includes/json/FormatJson.php index acbbf2604f..b99b0b826c 100644 --- a/includes/json/FormatJson.php +++ b/includes/json/FormatJson.php @@ -84,8 +84,8 @@ class FormatJson { * and U+000D (CR). However, PHP already escapes LF and CR according to RFC 4627. */ private static $badChars = [ - "\xe2\x80\xa8", // U+2028 LINE SEPARATOR - "\xe2\x80\xa9", // U+2029 PARAGRAPH SEPARATOR + "\u{2028}", // U+2028 LINE SEPARATOR + "\u{2029}", // U+2029 PARAGRAPH SEPARATOR ]; /**