summaryrefslogtreecommitdiff
path: root/src/html.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-14 13:18:25 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-14 13:18:25 -0700
commitaa052f8efa0480a6d1da7cfe1b6083e47c095ccd (patch)
tree7e65fe5c3bab6003a220f2f4b94f8e9f5b73ed12 /src/html.c
parent76fb4d57b9e941870c72f86833648bb5262be737 (diff)
astyle reformatting.
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/html.c b/src/html.c
index 48a80d6..c6bbea6 100644
--- a/src/html.c
+++ b/src/html.c
@@ -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=\"");