lix-website/themes/lix/assets/bootstrap/node_modules/parse-entities/decode-entity.js
2024-04-26 22:49:34 -06:00

14 lines
264 B
JavaScript

'use strict'
var characterEntities = require('character-entities')
module.exports = decodeEntity
var own = {}.hasOwnProperty
function decodeEntity(characters) {
return own.call(characterEntities, characters)
? characterEntities[characters]
: false
}