You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sync data/cdata children when setting element value (fixes#6)
With parse_cdata=True the document is parsed with data nodes, so the
element text lives in node_data/node_cdata children which take
precedence over the element's own value during printing. Setting
node.value only updated the element value, leaving serialization
unchanged. Now the first data/cdata child is updated as well, and any
extra data/cdata children are removed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments