Skip to content

Commit ef390f9

Browse files
committed
add ignore_empty_attributes doc
1 parent 019d505 commit ef390f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/serializer.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,8 @@ Option Description
12051205
``<![CDATA[...]]>``
12061206
``cdata_wrapping_pattern`` A regular expression pattern to determine if a ``/[<>&]/``
12071207
value should be wrapped in a CDATA section
1208+
``ignore_empty_attributes`` If set to true, ignores all attributes with empty ``false``
1209+
values in the generated XML
12081210
============================== ================================================= ==========================
12091211

12101212
.. versionadded:: 7.1

0 commit comments

Comments
 (0)