cmark

My personal build of CMark ✏️

Commit
f3026b816d7a33e62824bd559692422206196c6d
Parent
f9073827f0e8d9b10fa43852a1f981eda44140c8
Author
John MacFarlane <jgm@berkeley.edu>
Date

Merge pull request #195 from github/revert-194-upstream/remove-normalize

Revert "Remove normalize as an option per #190"

Diffstat

2 files changed, 16 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified man/man3/cmark.3 12 12 0
Modified src/cmark.h 4 4 0
diff --git a/man/man3/cmark.3 b/man/man3/cmark.3
@@ -752,6 +752,18 @@ Options affecting parsing
 .nf
 \fC
 .RS 0n
+#define CMARK_OPT_NORMALIZE (1 << 8)
+.RE
+\f[]
+.fi
+
+.PP
+Legacy option (no effect).
+
+.PP
+.nf
+\fC
+.RS 0n
 #define CMARK_OPT_VALIDATE_UTF8 (1 << 9)
 .RE
 \f[]
diff --git a/src/cmark.h b/src/cmark.h
@@ -568,6 +568,10 @@ char *cmark_render_latex(cmark_node *root, int options, int width);
  * ### Options affecting parsing
  */
 
+/** Legacy option (no effect).
+ */
+#define CMARK_OPT_NORMALIZE (1 << 8)
+
 /** Validate UTF-8 in the input before parsing, replacing illegal
  * sequences with the replacement character U+FFFD.
  */