File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -91,9 +91,10 @@ $rendererOptions = [
91
91
'spacesToNbsp' => false,
92
92
// HTML renderer tab width (negative = do not convert into spaces)
93
93
'tabSize' => 4,
94
+ // this option is currently only for the Json renderer.
94
95
// internally, ops (tags) are all int type but this is not good for human reading.
95
96
// set this to "true" to convert them into string form before outputting.
96
- 'outputTagAsString' => true ,
97
+ 'outputTagAsString' => false ,
97
98
// change this value to a string as the returned diff if the two input strings are identical
98
99
'resultForIdenticals' => null,
99
100
// extra HTML classes added to the DOM of the diff container
Original file line number Diff line number Diff line change 48
48
'spacesToNbsp ' => false ,
49
49
// HTML renderer tab width (negative = do not convert into spaces)
50
50
'tabSize ' => 4 ,
51
+ // this option is currently only for the Json renderer.
51
52
// internally, ops (tags) are all int type but this is not good for human reading.
52
53
// set this to "true" to convert them into string form before outputting.
53
54
'outputTagAsString ' => false ,
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ abstract class AbstractRenderer implements RendererInterface
48
48
// the frontend HTML could use CSS "white-space: pre;" to visualize consecutive whitespaces
49
49
// but if you want to visualize them in the backend with " ", you can set this to true
50
50
'spacesToNbsp ' => false ,
51
+ // this option is currently only for the Json renderer.
51
52
// internally, ops (tags) are all int type but this is not good for human reading.
52
53
// set this to "true" to convert them into string form before outputting.
53
54
'outputTagAsString ' => false ,
You can’t perform that action at this time.
0 commit comments