commit 6e597f8dca1d64053889066074488b4930de0a83
parent 7bf7ffef3d9dc703987ae147e4013eece38a9b77
Author: Davide P. Cervone <dpvc@union.edu>
Date: Wed, 12 Feb 2014 10:48:45 -0500
Merge branch 'issue377' into develop. Issue #377.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js
@@ -424,6 +424,7 @@
'%': 'Comment',
'&': 'Entry',
'#': 'Hash',
+ '\u00A0': 'Space',
'\u2019': 'Prime'
},
@@ -946,6 +947,7 @@
not: 'Not',
dots: 'Dots',
space: 'Tilde',
+ '\u00A0': 'Tilde',
// LaTeX
@@ -1807,7 +1809,7 @@
* Check if the next character is a space
*/
nextIsSpace: function () {
- return this.string.charAt(this.i).match(/[ \n\r\t]/);
+ return this.string.charAt(this.i).match(/\s/);
},
/*