Changeset 28986 for _plugins_/crayons

Show
Ignore:
Timestamp:
03.06.2009 12:11:44 (8 months ago)
Author:
fil@…
Message:

affichage des erreurs JSON, saut de ligne unicode

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • _plugins_/crayons/inc/crayons.php

    r28985 r28986  
    369369            return 'null'; 
    370370        case is_string($var) : 
     371            // saut de ligne unicode http://www.fileformat.info/info/unicode/char/2028/index.htm 
    371372            $var = str_replace(chr(226).chr(128).chr(168), "\n", $var); 
    372373            return '"' . str_replace('&', '\x26', addcslashes($var, "\"\\\n\r")) . '"';