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 = [
9191 'spacesToNbsp' => false,
9292 // HTML renderer tab width (negative = do not convert into spaces)
9393 'tabSize' => 4,
94+ // this option is currently only for the Json renderer.
9495 // internally, ops (tags) are all int type but this is not good for human reading.
9596 // set this to "true" to convert them into string form before outputting.
96- 'outputTagAsString' => true ,
97+ 'outputTagAsString' => false ,
9798 // change this value to a string as the returned diff if the two input strings are identical
9899 'resultForIdenticals' => null,
99100 // extra HTML classes added to the DOM of the diff container
Original file line number Diff line number Diff line change 4848 'spacesToNbsp ' => false ,
4949 // HTML renderer tab width (negative = do not convert into spaces)
5050 'tabSize ' => 4 ,
51+ // this option is currently only for the Json renderer.
5152 // internally, ops (tags) are all int type but this is not good for human reading.
5253 // set this to "true" to convert them into string form before outputting.
5354 'outputTagAsString ' => false ,
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ abstract class AbstractRenderer implements RendererInterface
4848 // the frontend HTML could use CSS "white-space: pre;" to visualize consecutive whitespaces
4949 // but if you want to visualize them in the backend with " ", you can set this to true
5050 'spacesToNbsp ' => false ,
51+ // this option is currently only for the Json renderer.
5152 // internally, ops (tags) are all int type but this is not good for human reading.
5253 // set this to "true" to convert them into string form before outputting.
5354 'outputTagAsString ' => false ,
You can’t perform that action at this time.
0 commit comments