cmark

My personal build of CMark ✏️

Commit
76d39d05996e4b38c7a854740e41a4f3d307fc1c
Parent
9f6be5bd537a9337b4c42685e4f80f65f5975fe0
Author
John MacFarlane <jgm@berkeley.edu>
Date

Fixed some warnings in scanners.re.

Diffstat

1 file changed, 2 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified src/scanners.re 4 2 2
diff --git a/src/scanners.re b/src/scanners.re
@@ -41,9 +41,9 @@ bufsize_t _scan_at(bufsize_t (*scanner)(const unsigned char *), cmark_chunk *c, 
 
   attributename = [a-zA-Z_:][a-zA-Z0-9:._-]*;
 
-  unquotedvalue = [^\"'=<>`\x00]+;
+  unquotedvalue = [^"'=<>`\x00]+;
   singlequotedvalue = ['][^'\x00]*['];
-  doublequotedvalue = [\"][^\"\x00]*[\"];
+  doublequotedvalue = ["][^"\x00]*["];
 
   attributevalue = unquotedvalue | singlequotedvalue | doublequotedvalue;