Decode the predefined XML entities (amp, lt, gt, apos, quot), CharRefs and CDATA sections.
npm install xmldecode
xmldecode
=========
Decode the predefined XML entities (amp, lt, gt, apos, quot), CharRefs and
CDATA sections.
Definitions:
Predefined XML entities,
CharRefs
API
---
This module exports one function:
Returns a string with the text decoded from string orig.
Usage
-----
see test.js
Related
-------
* xmldefuse:
Encode the predefined XML entities and CharRefs.
Opt-out CharRef 39 for HTML. Bonus: Encode CDATA.
* xmlunidefuse:
Convert some additional, easily overlooked Unicode characters to CharRefs.
Known issues
------------
* Needs more/better tests and docs.
License
-------
ISC