summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-04-09 19:58:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-04-09 19:58:05 -0700
commitecee91aebe7a34c4b069a2da11bd2f7ef5be83ac (patch)
tree4f8e9fcf078d5bf98f07974899900ae118e74fa4 /src/inlines.c
parentcc20ded7c953d7f82c13f22063654eea85cad3dc (diff)
Fixed whitespace.
Diffstat (limited to 'src/inlines.c')
-rw-r--r--src/inlines.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 77fd7ee..b410218 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -576,17 +576,17 @@ static delimiter *S_insert_emph(subject *subj, delimiter *opener,
delim = tmp_delim;
}
- // create new emph or strong, and splice it in to our inlines
- // between the opener and closer
- emph = use_delims == 1 ? make_emph() : make_strong();
-
- tmp = opener_inl->next;
- while (tmp && tmp != closer_inl) {
- tmpnext = tmp->next;
- cmark_node_append_child(emph, tmp);
- tmp = tmpnext;
- }
- cmark_node_insert_after(opener_inl, emph);
+ // create new emph or strong, and splice it in to our inlines
+ // between the opener and closer
+ emph = use_delims == 1 ? make_emph() : make_strong();
+
+ tmp = opener_inl->next;
+ while (tmp && tmp != closer_inl) {
+ tmpnext = tmp->next;
+ cmark_node_append_child(emph, tmp);
+ tmp = tmpnext;
+ }
+ cmark_node_insert_after(opener_inl, emph);
// if opener has 0 characters, remove it and its associated inline
if (opener_num_chars == 0) {