- Commit
- b1bbd90481512f1a43c17893598e4d96a817c536
- Parent
- 245bb51f4cbaab6f161dbeba3f07fe90932fd8ff
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Clarify that brackets in general don't take precedence over emph.
Closes #258.
My personal build of CMark ✏️
Clarify that brackets in general don't take precedence over emph.
Closes #258.
1 file changed, 9 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | spec.txt | 9 | 9 | 0 |
diff --git a/spec.txt b/spec.txt @@ -5849,6 +5849,15 @@ emphasis grouping: <p><a href="baz*">foo *bar</a></p> . +Note that brackets that *aren't* part of links do not take +precedence: + +. +*foo [bar* baz] +. +<p><em>foo [bar</em> baz]</p> +. + These cases illustrate the precedence of HTML tags, code spans, and autolinks over link grouping: