From f5168c63ad305b3e331eb7d31efaf46b0541bba4 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Thu, 4 Sep 2014 06:41:18 +0200 Subject: 368/73 --- src/blocks.c | 1 + src/inlines.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blocks.c b/src/blocks.c index 94ff986..bd25d6c 100644 --- a/src/blocks.c +++ b/src/blocks.c @@ -57,6 +57,7 @@ bool is_blank(gh_buf *s, int offset) return true; case ' ': offset++; + break; default: return false; } diff --git a/src/inlines.c b/src/inlines.c index ef27a24..ced4673 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -123,7 +123,7 @@ inline static inl* make_linkable(int t, inl* label, chunk url, chunk title) e->tag = t; e->content.linkable.label = label; e->content.linkable.url = chunk_to_cstr(&url); - e->content.linkable.title = url.len ? chunk_to_cstr(&title) : NULL; + e->content.linkable.title = title.len ? chunk_to_cstr(&title) : NULL; e->next = NULL; return e; } -- cgit v1.2.3