Philipp Partosch 46a936d7de added all files to project | 2 years ago | |
---|---|---|
.. | ||
index.json | 2 years ago | |
license | 2 years ago | |
package.json | 2 years ago | |
readme.md | 2 years ago |
HTML legacy character entity information: for legacy reasons some character
entities are not required to have a trailing semicolon: ©
is perfectly
okay for ©
.
npm:
npm install character-entities-legacy
var characterEntitiesLegacy = require('character-entities-legacy')
console.log(characterEntitiesLegacy.copy) // => '©'
console.log(characterEntitiesLegacy.frac34) // => '¾'
console.log(characterEntitiesLegacy.sup1) // => '¹'
characterEntitiesLegacy
Mapping between (case-sensitive) legacy character entity names to replacements.
See whatwg/html
.
character-entities
— HTML character entity infocharacter-entities-html4
— HTML 4 character entity infoparse-entities
— Parse HTML character referencesstringify-entities
— Serialize HTML character references