diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-09 13:37:13 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-09 13:37:13 -0800 |
commit | f1bbd869102e185b4e9178948f80c1ac66a94df7 (patch) | |
tree | 5d2f7ad813a1f6e78c5403a80d3300e266b69648 /src/html | |
parent | 58ebff02fd350f1b73d62caf0c1e976b4576e2ab (diff) | |
parent | 014d2d0699d8875e766afcf01580c4a2ea093131 (diff) |
Merge branch 'master' of github.com:jgm/CommonMark
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/html.c | 4 |
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; |