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
The skipWS option has no effect on any leading and trailing white-space inside a CDATA construct.
Is this deliberate? "Regular" text nodes are affected by that option, as expected. CDATA is only an escape construct and could have been used judiciously by some XML generator. For all intents and purposes it might just as well be handled like any other text node. For consistency I'd like to suggest to also apply
skipWS to the contents of CDATA. (Or have yet another option flag for this sole purpose?)
The text was updated successfully, but these errors were encountered:
geert56
changed the title
skipWS has no effect of white-space inside CDATA
skipWS has no effect on white-space inside CDATA
Jun 3, 2022
The skipWS option has no effect on any leading and trailing white-space inside a CDATA construct.
Is this deliberate? "Regular" text nodes are affected by that option, as expected. CDATA is only an escape construct and could have been used judiciously by some XML generator. For all intents and purposes it might just as well be handled like any other text node. For consistency I'd like to suggest to also apply
skipWS to the contents of CDATA. (Or have yet another option flag for this sole purpose?)
The text was updated successfully, but these errors were encountered: