File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1206,6 +1206,10 @@ Option Description
1206
1206
``save_options `` XML saving `options with libxml `_ ``0 ``
1207
1207
``remove_empty_tags `` If set to true, removes all empty tags in the ``false ``
1208
1208
generated XML
1209
+ ``enable_cdata_wrapping `` If set to false, will not wrap any value ``true ``
1210
+ containing one of the following characters (
1211
+ ``< ``, ``> ``, ``& ``) in `a CDATA section `_ like
1212
+ following : ``<![CDATA[...]]> ``
1209
1213
============================== ================================================= ==========================
1210
1214
1211
1215
Example with custom ``context ``::
@@ -1936,3 +1940,4 @@ Learn more
1936
1940
.. _`data URI` : https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
1937
1941
.. _seld/jsonlint : https://github.com/Seldaek/jsonlint
1938
1942
.. _$flags : https://www.php.net/manual/en/json.constants.php
1943
+ .. _`a CDATA section` : https://en.wikipedia.org/wiki/CDATA
You can’t perform that action at this time.
0 commit comments