summaryrefslogtreecommitdiff
path: root/src/html/html.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-09 13:37:13 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-09 13:37:13 -0800
commitf1bbd869102e185b4e9178948f80c1ac66a94df7 (patch)
tree5d2f7ad813a1f6e78c5403a80d3300e266b69648 /src/html/html.c
parent58ebff02fd350f1b73d62caf0c1e976b4576e2ab (diff)
parent014d2d0699d8875e766afcf01580c4a2ea093131 (diff)
Merge branch 'master' of github.com:jgm/CommonMark
Diffstat (limited to 'src/html/html.c')
-rw-r--r--src/html/html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html/html.c b/src/html/html.c
index 5f08506..ea83992 100644
--- a/src/html/html.c
+++ b/src/html/html.c
@@ -125,7 +125,7 @@ static void inlines_to_plain_html(strbuf *html, node_inl* ils)
case INL_LINK:
case INL_IMAGE:
- children = ils->content.inlines;
+ children = ils->content.linkable.label;
visit_children = true;
rstack = push_inline(rstack, ils->next, "");
break;
@@ -197,7 +197,7 @@ static void inlines_to_html(strbuf *html, node_inl* ils)
}
strbuf_puts(html, "\">");
- children = ils->content.inlines;
+ children = ils->content.linkable.label;
rstack = push_inline(rstack, ils->next, "</a>");
break;