Skip to content

Commit cc4bcd4

Browse files
committed
Add missing XML serializer's CDATA options
1 parent 793d538 commit cc4bcd4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/serializer.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,12 @@ Option Description
11991199
``save_options`` XML saving `options with libxml`_ ``0``
12001200
``remove_empty_tags`` If set to true, removes all empty tags in the ``false``
12011201
generated XML
1202+
``cdata_wrapping`` If set to false, disables automatic CDATA ``true``
1203+
wrapping (see `cdata_wrapping_pattern` option for
1204+
more information)
1205+
``cdata_wrapping_pattern`` A regular expression pattern to determine if the ``/[<>&]/``
1206+
content of the node should be wrapped in a CDATA
1207+
section
12021208
============================== ================================================= ==========================
12031209

12041210
Example with custom ``context``::

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy