summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-06-02 16:43:57 +0200
committerGitHub <noreply@github.com>2017-06-02 16:43:57 +0200
commitf3026b816d7a33e62824bd559692422206196c6d (patch)
treede352e5b2375debd533f55defe1990f583786a65
parentf9073827f0e8d9b10fa43852a1f981eda44140c8 (diff)
parentf47c5ec83aacd4fd64de36b1047ff2fced766142 (diff)
Merge pull request #195 from github/revert-194-upstream/remove-normalize
Revert "Remove normalize as an option per #190"
-rw-r--r--man/man3/cmark.312
-rw-r--r--src/cmark.h4
2 files changed, 16 insertions, 0 deletions
diff --git a/man/man3/cmark.3 b/man/man3/cmark.3
index c04e442..4cb20d6 100644
--- 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
index 9f6e0c6..d1a65aa 100644
--- 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.
*/