lix-website/themes/lix/assets/bootstrap/node_modules/parse-entities/decode-entity.js

14 lines
264 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
'use strict'
var characterEntities = require('character-entities')
module.exports = decodeEntity
var own = {}.hasOwnProperty
function decodeEntity(characters) {
return own.call(characterEntities, characters)
? characterEntities[characters]
: false
}