forked from jgm/pandoc
-
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.
Handle close delimiters on line enclosures
One-line enclosures need a little bit of state so that we don't parse the closing delimiters that follow nested one-line or multiline enclosures; the closing delimiters are meant to go after the close of the outermost enclosure. While we're here, ensure lineEnclosure consumes an eol, which saves us from some extra eol bookkeeping when we use lineEnclosure in block contexts.
- Loading branch information
Showing
2 changed files
with
23 additions
and
6 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