cmark

My personal build of CMark ✏️

Commit
289a0aae38f501a46e7403ba02dcadd915ae3a67
Parent
74d46d8b243d59358a806357cfba706abfa72aa1
Author
John MacFarlane <jgm@berkeley.edu>
Date

Update scanners for new info string rules.

Diffstat

2 files changed, 2 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified src/scanners.c 2 1 1
Modified src/scanners.re 2 1 1
diff --git a/src/scanners.c b/src/scanners.c
@@ -11498,7 +11498,7 @@ bufsize_t _scan_open_code_fence(const unsigned char *p) {
         192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 144, 192,
         192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192,
         192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192,
-        96,  192, 0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
+        224, 192, 0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
diff --git a/src/scanners.re b/src/scanners.re
@@ -275,7 +275,7 @@ bufsize_t _scan_open_code_fence(const unsigned char *p)
   const unsigned char *start = p;
 /*!re2c
   [`]{3,} / [^`\r\n\x00]*[\r\n] { return (bufsize_t)(p - start); }
-  [~]{3,} / [^~\r\n\x00]*[\r\n] { return (bufsize_t)(p - start); }
+  [~]{3,} / [^\r\n\x00]*[\r\n] { return (bufsize_t)(p - start); }
   * { return 0; }
 */
 }