diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-06-24 22:00:27 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-06-24 22:00:27 -0700 |
commit | ecf46d60479c0ce1217a17df5719923fbc61ca40 (patch) | |
tree | edf1bb5870e6c786cdd11d5d7c1cd708239e1171 /CommonMark.dtd | |
parent | e9ff438a200f6dd4798e525c966a8fecd1e6e1a0 (diff) |
Spec changes in strong/emph parsing.
See
https://talk.commonmark.org/t/emphasis-strong-emphasis-corner-cases/2123
for motivation.
This restores intuitive parsings for a number of changes.
The main change is to disallow strong or emph when one of
the delimiters is "internal" and the sum of the lengths of
the enclosing delimiter runs is a multiple of 3.
Thus,
**foo*bar***
gets parsed `<strong>foo*bar</strong>` rather than
`<em><em>foo</em>bar</em>**` as before.
Diffstat (limited to 'CommonMark.dtd')
0 files changed, 0 insertions, 0 deletions