From f47c5ec83aacd4fd64de36b1047ff2fced766142 Mon Sep 17 00:00:00 2001 From: Yuki Izumi Date: Sun, 7 May 2017 13:22:12 +1000 Subject: Re-add CMARK_OPT_NORMALIZE without effect. --- man/man3/cmark.3 | 12 ++++++++++++ src/cmark.h | 4 ++++ 2 files changed, 16 insertions(+) diff --git a/man/man3/cmark.3 b/man/man3/cmark.3 index 5f7fcc6..125e5a2 100644 --- a/man/man3/cmark.3 +++ b/man/man3/cmark.3 @@ -743,6 +743,18 @@ Render \f[C]softbreak\f[] elements as spaces. .SS Options affecting parsing +.PP +.nf +\fC +.RS 0n +#define CMARK_OPT_NORMALIZE (1 << 8) +.RE +\f[] +.fi + +.PP +Legacy option (no effect). + .PP .nf \fC diff --git a/src/cmark.h b/src/cmark.h index 793fcf4..a628ffb 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -563,6 +563,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. */ -- cgit v1.2.3