AK-21/Graphite-Industrial-Intelligence
0
1/**2 * Encode a code point as a character reference.3 *4 * @param {number} code5 * Code point to encode.6 * @returns {string}7 * Encoded character reference.8 */9export function encodeCharacterReference(code) {10 return '&#x' + code.toString(16).toUpperCase() + ';'11}12 