-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The original replace function uses a regular expression to find expressions to parse. It is more efficient to use the indexOf to find the first matching '&' character and then the matching ';' character. Fixes half of #120.
- Loading branch information
Erik Mogensen
committed
Sep 28, 2018
1 parent
8406a55
commit 8fccfe3
Showing
1 changed file
with
20 additions
and
2 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