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 @@ -1130,6 +1130,10 @@ Option Description
1130
1130
``save_options `` XML saving `options with libxml `_ ``0 ``
1131
1131
``remove_empty_tags `` If set to true, removes all empty tags in the ``false ``
1132
1132
generated XML
1133
+ ``enable_cdata_wrapping `` If set to false, will not wrap any value ``true ``
1134
+ containing one of the following characters (
1135
+ ``< ``, ``> ``, ``& ``) in `a CDATA section `_ like
1136
+ following : ``<![CDATA[...]]> ``
1133
1137
============================== ================================================= ==========================
1134
1138
1135
1139
Example with custom ``context ``::
@@ -1827,3 +1831,4 @@ Learn more
1827
1831
.. _`RFC 4122` : https://tools.ietf.org/html/rfc4122
1828
1832
.. _`PHP reflection` : https://php.net/manual/en/book.reflection.php
1829
1833
.. _`data URI` : https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
1834
+ .. _`a CDATA section` : https://en.wikipedia.org/wiki/CDATA
You can’t perform that action at this time.
0 commit comments