Make U+00A0 act as space in math mode. Resolves issue #377.
This commit is contained in:
parent
d26490a4db
commit
8fb4157eb1
|
@ -424,6 +424,7 @@
|
||||||
'%': 'Comment',
|
'%': 'Comment',
|
||||||
'&': 'Entry',
|
'&': 'Entry',
|
||||||
'#': 'Hash',
|
'#': 'Hash',
|
||||||
|
'\u00A0': 'Space',
|
||||||
'\u2019': 'Prime'
|
'\u2019': 'Prime'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -946,6 +947,7 @@
|
||||||
not: 'Not',
|
not: 'Not',
|
||||||
dots: 'Dots',
|
dots: 'Dots',
|
||||||
space: 'Tilde',
|
space: 'Tilde',
|
||||||
|
'\u00A0': 'Tilde',
|
||||||
|
|
||||||
|
|
||||||
// LaTeX
|
// LaTeX
|
||||||
|
@ -1807,7 +1809,7 @@
|
||||||
* Check if the next character is a space
|
* Check if the next character is a space
|
||||||
*/
|
*/
|
||||||
nextIsSpace: function () {
|
nextIsSpace: function () {
|
||||||
return this.string.charAt(this.i).match(/[ \n\r\t]/);
|
return this.string.charAt(this.i).match(/\s/);
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user