lib/string_entities.js
function loadEntities() {
		// Uncompress the base charmap
		charMap = require('./string_entities_map.js');

		HTMLEntities = {};

		for (key in charMap) {
			for (i = 0; i < charMap[key].length; i++) {
				HTMLEntities[charMap[key][i]] = key;
			}
		}
	}
function loadEntities() {
		// Uncompress the base charmap
		charMap = require('./string_entities_map.js');

		HTMLEntities = {};

		for (key in charMap) {
			for (i = 0; i < charMap[key].length; i++) {
				HTMLEntities[charMap[key][i]] = key;
			}
		}
	}
function loadEntities ( ) { // Uncompress the base charmap charMap = require ( './string_entities_map.js' ) ; HTMLEntities = { } ; for ( key in charMap ) { for ( i = 0 ; i < charMap [ key ] . length ; i ++ ) { HTMLEntities [ charMap [ key ] [ i ] ] = key ; } } }
Populate HTMLEntities variable with entities

@author   Jelle De Loecker   <jelle@develry.be>
@since    0.3.2
@version  0.4.1

@param    {String}   character   The single character to encode

@return   {String}   The encoded char
Populate HTMLEntities variable with entities