mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-11 23:01:41 +09:00
Add newline after JSON and XML responses
This commit is contained in:
parent
114755d13a
commit
d0183268ce
3 changed files with 8 additions and 8 deletions
|
|
@ -15,7 +15,7 @@ class JSONDisplayHandler
|
|||
$variables['message'] = $oModule->getMessage();
|
||||
|
||||
self::_convertCompat($variables, Context::getRequestMethod());
|
||||
return json_encode($variables);
|
||||
return json_encode($variables) . "\n";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue