Version 4.7.8
This commit is contained in:
1 parent
7b7404e741
commit
fd22d99e69
688 files changed
+19814
-10890
No files matched your search
@@ -1997,11 +1997,11 @@ class _Lang extends \IPS\Node\Model
|
||||
{
|
||||
if( isset( $values['options']['jsonEscape'] ) )
|
||||
{
|
||||
$replacement = mb_substr( json_encode( $replacement, JSON_UNESCAPED_SLASHES | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS ), 1, -1 );
|
||||
$replacement = mb_substr( json_encode( $replacement, JSON_UNESCAPED_SLASHES | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_UNESCAPED_UNICODE ), 1, -1 );
|
||||
}
|
||||
else
|
||||
{
|
||||
$replacement = mb_substr( json_encode( $replacement, JSON_UNESCAPED_UNICODE ), 1, -1 );
|
||||
$replacement = mb_substr( json_encode( $replacement ), 1, -1 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user