-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overhaul how metadata is handled. Instead of extracting metadata duri…
…ng parse and needing to separately escape and smartypants it, have the renderer fill in a queue of metadata when it renders. This considerably simplifies areas of the code. The smartypants code now doesn't need separate considerations for buffers, as the metadata values are just normal text nodes. In doing so, the existing smartypants mechanism can be completely unhooked. While here, extensively simplify the renderers with regard to superfluous checks for whether buffers are NULL or empty (they're never NULL), left-over integer return values, and style(9).
- Loading branch information
1 parent
bf0e1cb
commit 524f94c
Showing
14 changed files
with
807 additions
and
888 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
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.