#19439953 JSON 출력시 탭문자 치환

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8015 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2011-01-05 08:36:34 +00:00
parent 74b0a948cd
commit 4039a24c31

View file

@ -7,6 +7,7 @@ class JSONDisplayHandler {
$variables['error'] = $oModule->getError();
$variables['message'] = $oModule->getMessage();
$json = preg_replace("(\r\n|\n)",'\n',json_encode2($variables));
$json = preg_replace("\t",'\t',$json);
return $json;
}
}