lhl 6ff0e96ad3 8-4-1 | 1 år sedan | |
---|---|---|
.. | ||
index.json | 1 år sedan | |
license | 1 år sedan | |
package.json | 1 år sedan | |
readme.md | 1 år sedan |
HTML invalid numeric character reference information.
npm:
npm install character-reference-invalid
var characterReferenceInvalid = require('character-reference-invalid')
console.log(characterReferenceInvalid[0x80]) // => '€'
console.log(characterReferenceInvalid[0x89]) // => '‰'
console.log(characterReferenceInvalid[0x99]) // => '™'
characterReferenceInvalid
Mapping between invalid numeric character reference to replacements.
See html.spec.whatwg.org
.
character-entities
— HTML character entity infocharacter-entities-html4
— HTML 4 character entity infocharacter-entities-legacy
— Legacy character entity infoparse-entities
— Parse HTML character referencesstringify-entities
— Serialize HTML character references