dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10e2024
)
JsonContent: Pass FormatJson::UTF8_OK when beautifying JSON
author
Bartosz Dziewoński
<matma.rex@gmail.com>
Mon, 16 Mar 2015 20:53:33 +0000
(21:53 +0100)
committer
Bartosz Dziewoński
<matma.rex@gmail.com>
Mon, 16 Mar 2015 20:53:33 +0000
(21:53 +0100)
Currently it is not beautiful at all.
Change-Id: I82a07238b4213212b8e4a7150e35486f6dc90bc6
includes/content/JsonContent.php
patch
|
blob
|
history
diff --git
a/includes/content/JsonContent.php
b/includes/content/JsonContent.php
index
1d9ee33
..
bf3a25b
100644
(file)
--- 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
);
}
/**