cmark

My personal build of CMark ✏️

Commit
ecee91aebe7a34c4b069a2da11bd2f7ef5be83ac
Parent
cc20ded7c953d7f82c13f22063654eea85cad3dc
Author
John MacFarlane <jgm@berkeley.edu>
Date

Fixed whitespace.

Diffstat

1 file changed, 11 insertions, 11 deletions

Status File Name N° Changes Insertions Deletions
Modified src/inlines.c 22 11 11
diff --git 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) {