This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
forked from arnog/mathlive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There seemed to be some confusion between using type '#' and type
'placeholder in the code. I switched everything to be 'placeholder'. The real fix is that in Parser.prototype.scanToken, there was one 'if' testing for '#' and another testing for 'placeholder'. The fix was to move the 'placeholder' test into the '#' test so that when there was not something to replace, a placeholder was inserted into the result. Note: the previous code in that case (which probably was never used) used the value of the placeholder token (typically a '0') for the placeholder. That's not great visually, so I switch to using 'U+2753 = BLACK QUESTION MARK ORNAMENT' which was used elsewhere. Fixes arnog#33.
- Loading branch information
Showing
2 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters