diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-06-11 10:11:37 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-06-11 10:15:39 -0700 |
commit | 39b40151afa1af92c2d585c86930393be7e8ac73 (patch) | |
tree | e02ef08f18cceecba6c548d9a9fed0fdf5277307 /api_test | |
parent | 4224dc159cdd0b4429a566a14792c0abc0f5f62a (diff) |
Fixed `process_emphasis` to handle new pathological cases.
Now we have an array of pointers (`potential_openers`),
keyed to the delim char.
When we've failed to match a potential opener prior to point X
in the delimiter stack, we reset `potential_openers` for that opener
type to X, and thus avoid having to look again through all the openers
we've already rejected.
See jgm/commonmark#43.
Diffstat (limited to 'api_test')
0 files changed, 0 insertions, 0 deletions