diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-07-14 13:18:25 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-07-14 13:18:25 -0700 |
commit | aa052f8efa0480a6d1da7cfe1b6083e47c095ccd (patch) | |
tree | 7e65fe5c3bab6003a220f2f4b94f8e9f5b73ed12 /src/html.c | |
parent | 76fb4d57b9e941870c72f86833648bb5262be737 (diff) |
astyle reformatting.
Diffstat (limited to 'src/html.c')
-rw-r--r-- | src/html.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -179,7 +179,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, cmark_strbuf_puts(html, "<!-- raw HTML omitted -->"); } else { cmark_strbuf_put(html, node->as.literal.data, - node->as.literal.len); + node->as.literal.len); } cr(html); break; @@ -239,7 +239,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, cmark_strbuf_puts(html, "<!-- raw HTML omitted -->"); } else { cmark_strbuf_put(html, node->as.literal.data, - node->as.literal.len); + node->as.literal.len); } break; @@ -265,15 +265,15 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, if (!((options & CMARK_OPT_SAFE) && scan_dangerous_url(&node->as.link.url, 0))) { houdini_escape_href(html, - node->as.link.url.data, - node->as.link.url.len); + node->as.link.url.data, + node->as.link.url.len); } if (node->as.link.title.len) { cmark_strbuf_puts(html, "\" title=\""); escape_html(html, - node->as.link.title.data, - node->as.link.title.len); + node->as.link.title.data, + node->as.link.title.len); } cmark_strbuf_puts(html, "\">"); } else { @@ -287,8 +287,8 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, if (!((options & CMARK_OPT_SAFE) && scan_dangerous_url(&node->as.link.url, 0))) { houdini_escape_href(html, - node->as.link.url.data, - node->as.link.url.len); + node->as.link.url.data, + node->as.link.url.len); } cmark_strbuf_puts(html, "\" alt=\""); |