- Commit
- 2f4cbcb9957a2840735a547cc846eeb566262a44
- Parent
- 28525a57f3a7ba4e821e7300ac9c74a1dbcadc24
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Added more --smart test cases.
My personal build of CMark ✏️
Added more --smart test cases.
1 file changed, 20 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | test/smart_punct.txt | 20 | 20 | 0 |
diff --git a/test/smart_punct.txt b/test/smart_punct.txt @@ -56,6 +56,14 @@ Here is some quoted '`code`' and a "[quoted link](url)". . . +\"This is not smart.\" +This isn\'t either. +. +<p>"This is not smart." +This isn't either.</p> +. + +. Some dashes: one---two --- three---four --- five. . @@ -64,6 +72,12 @@ three—four — five.</p> . . +Escaped dashes: \-- \-\-\-. +. +<p>Escaped dashes: -- ---.</p> +. + +. Dashes between numbers: 5--7, 255--66, 1987--1999. . <p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p> @@ -74,3 +88,9 @@ Ellipses...and...and.... . <p>Ellipses…and…and….</p> . + +. +No ellipses\.\.\. +. +<p>No ellipses...</p> +.