commit fc04b1943d77287abe2eb47fecc3ac9e5f34a81f
parent 2cce7108266b13a1c5499401064e397d173f6089
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sat, 22 Aug 2015 09:37:39 -0400
Fix typo in handling UTF-16 characters
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js
@@ -683,7 +683,7 @@
unicodeChar: function (n) {
if (n < 0xFFFF) return String.fromCharCode(n);
n -= 0x10000;
- return String.fromCharCode((n>>10)+0xD800) + String.fromCharCode((N&0x3FF)+0xDC00);
+ return String.fromCharCode((n>>10)+0xD800) + String.fromCharCode((n&0x3FF)+0xDC00);
},
//
// Get the unicode number of a (possibly multi-character) string