From: Bartosz DziewoƄski Date: Mon, 16 Mar 2015 20:53:33 +0000 (+0100) Subject: JsonContent: Pass FormatJson::UTF8_OK when beautifying JSON X-Git-Tag: 1.31.0-rc.0~12076^2 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=d7389bd865405a77efc2d75f7388b9488a5d0b3f;p=lhc%2Fweb%2Fwiklou.git JsonContent: Pass FormatJson::UTF8_OK when beautifying JSON Currently it is not beautiful at all. Change-Id: I82a07238b4213212b8e4a7150e35486f6dc90bc6 --- diff --git a/includes/content/JsonContent.php b/includes/content/JsonContent.php index 1d9ee33804..bf3a25bf3b 100644 --- a/includes/content/JsonContent.php +++ b/includes/content/JsonContent.php @@ -68,7 +68,7 @@ class JsonContent extends TextContent { * @return string */ public function beautifyJSON() { - return FormatJson::encode( $this->getData()->getValue(), true ); + return FormatJson::encode( $this->getData()->getValue(), true, FormatJson::UTF8_OK ); } /**