From d7389bd865405a77efc2d75f7388b9488a5d0b3f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 16 Mar 2015 21:53:33 +0100 Subject: [PATCH] JsonContent: Pass FormatJson::UTF8_OK when beautifying JSON Currently it is not beautiful at all. Change-Id: I82a07238b4213212b8e4a7150e35486f6dc90bc6 --- includes/content/JsonContent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } /** -- 2.20.1