bwrrp / slimdom.js

Fast, tiny, standards-compliant XML DOM implementation for node and the browser
MIT License
31 stars 8 forks source link

Optionally treat CDATA as normal text #146

Closed bwrrp closed 1 year ago

bwrrp commented 1 year ago

This adds an option to treat CDATA sections in the input as normal text, outputting (normalized) Text nodes instead of CDataSection nodes.