summaryrefslogtreecommitdiff
path: root/src/references.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/references.c')
-rw-r--r--src/references.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/references.c b/src/references.c
index 1738de1..33cea12 100644
--- a/src/references.c
+++ b/src/references.c
@@ -86,8 +86,8 @@ extern void reference_create(reference_map *map, chunk *label, chunk *url, chunk
if(ref != NULL) {
ref->label = reflabel;
ref->hash = refhash(ref->label);
- ref->url = clean_url(url);
- ref->title = clean_title(title);
+ ref->url = cmark_clean_url(url);
+ ref->title = cmark_clean_title(title);
ref->next = NULL;
add_reference(map, ref);