-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite logic for inline formatting (#5)
This commit simplifies the convoluted method in which inline formatting was handled. By splitting the overlapping inline formatting intervals into discrete slices that signifies how to style that slice, the logic for inline formatting can be simplified to a single loop instead of the recursive series of checks and dozens of while loops. This improves performance, code clarity, and fixes some long-standing bugs in the renderer. The caveat however is that the resulting HTML now has the chance to be much larger than before. This should be addressed as soon as possible.
- Loading branch information
Showing
10 changed files
with
552 additions
and
737 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.