diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-11-17 21:22:49 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-17 21:43:47 -0800 |
commit | 4cf3275ee16255a8fa9a5c3e290a152d1705fc3a (patch) | |
tree | 3d6565a30c9b89b41612185b8956720a6d004eda /src/cmark.c | |
parent | c2e63df630fac01b78859b4038be16cef26fe9be (diff) |
Move inline-related stuff to inlines.c
Diffstat (limited to 'src/cmark.c')
-rw-r--r-- | src/cmark.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/cmark.c b/src/cmark.c index fa9b5c8..f779e80 100644 --- a/src/cmark.c +++ b/src/cmark.c @@ -37,22 +37,6 @@ static void splice_into_list(cmark_node* e, cmark_node* children) { return ; } -unsigned char *cmark_clean_autolink(chunk *url, int is_email) -{ - strbuf buf = GH_BUF_INIT; - - chunk_trim(url); - - if (url->len == 0) - return NULL; - - if (is_email) - strbuf_puts(&buf, "mailto:"); - - houdini_unescape_html_f(&buf, url->data, url->len); - return strbuf_detach(&buf); -} - // Free a cmark_node list and any children. void cmark_free_nodes(cmark_node *e) { |