Skip to content

Commit

Permalink
discount-wrapper.c: enable footnote text
Browse files Browse the repository at this point in the history
Without this, the footnote content is discarded.
  • Loading branch information
silum committed Aug 25, 2016
1 parent b32fa1c commit f21c1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discount-wrapper.c
Expand Up @@ -7,7 +7,7 @@ char* convert_markdown_to_string(const char *str)
char *out = NULL;

Document *blob = mkd_string((char *)str, strlen(str), 0);
mkd_compile(blob, 0);
mkd_compile(blob, MKD_EXTRA_FOOTNOTE);
int sz = mkd_document(blob, &out);

if(sz == 0)
Expand Down

0 comments on commit f21c1b7

Please sign in to comment.