We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 984b5ea commit 32002ecCopy full SHA for 32002ec
src/html.c
@@ -77,9 +77,9 @@ static bool S_put_footnote_backref(cmark_html_renderer *renderer, cmark_strbuf *
77
cmark_strbuf_puts(html, " <a href=\"#fnref:");
78
cmark_strbuf_put(html, node->as.literal.data, node->as.literal.len);
79
cmark_strbuf_puts(html, ":");
80
- cmark_strbuf_put(html, (const unsigned char *)n, strlen(n));
+ cmark_strbuf_puts(html, n);
81
cmark_strbuf_puts(html, "\" class=\"footnote-backref\">↩<sup class=\"footnote-ref\">");
82
83
cmark_strbuf_puts(html, "</sup></a>");
84
}
85
@@ -432,7 +432,7 @@ static int S_render_node(cmark_html_renderer *renderer, cmark_node *node,
432
char n[32];
433
snprintf(n, sizeof(n), "%d", node->footnote.ref_ix);
434
435
436
437
438
cmark_strbuf_puts(html, "\">");
0 commit comments