/* | |
We're explicitly defining the list of entities that might see in escape HTML strings | |
*/ | |
var htmlEntities = { | |
nbsp: ' ', | |
cent: '¢', | |
pound: '£', | |
yen: '¥', | |
euro: '€', | |
copy: '©', | |
reg: '®', | |
lt: '<', | |
gt: '>', | |
quot: '"', | |
amp: '&', | |
apos: "'" | |
}; | |
module.exports = htmlEntities; |