diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-01-08 00:17:53 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-01-08 00:17:53 +0100 |
commit | 06156fd9194806ab98889e5ef3a309bb7075b02c (patch) | |
tree | c79f410d68062eb42e0414c02e151697325ceaf3 /src/cmark.c | |
parent | fe58a9295d44bd58bb4e48e449eb56c070e099d8 (diff) |
Update emphasis parsing for spec change.
Strong now goes inside Emph rather than the reverse,
when both scopes are possible.
The code is much simpler.
This also avoids a spec inconsistency that cmark had previously:
`***hi***` became Strong (Emph "hi")) but
`***hi****` became Emph (Strong "hi")) "*"
Diffstat (limited to 'src/cmark.c')
0 files changed, 0 insertions, 0 deletions