cmark

My personal build of CMark ✏️

Commit
d90bcbedb0b6dd20d41b42eba2f2cd5e0acf8aee
Parent
e564e0af5c2f7b9732e89707655068e507579a89
Author
John MacFarlane <jgm@berkeley.edu>
Date

Minor code reformatting.

Diffstat

3 files changed, 7 insertions, 7 deletions

Status File Name N° Changes Insertions Deletions
Modified src/cmark.h 2 1 1
Modified src/iterator.c 2 1 1
Modified src/xml.c 10 5 5
diff --git a/src/cmark.h b/src/cmark.h
@@ -189,7 +189,7 @@ cmark_iter_free(cmark_iter *iter);
 CMARK_EXPORT
 void
 cmark_iter_reset(cmark_iter *iter, cmark_node *current,
-		 cmark_event_type event_type);
+                 cmark_event_type event_type);
 
 /** Returns the event type (`CMARK_EVENT_ENTER`, `CMARK_EVENT_EXIT`,
  * or `CMARK_EVENT_DONE`) for the next node.
diff --git a/src/iterator.c b/src/iterator.c
@@ -50,7 +50,7 @@ int S_is_leaf(cmark_node *node)
 
 void
 cmark_iter_reset(cmark_iter *iter, cmark_node *current,
-		 cmark_event_type event_type)
+                 cmark_event_type event_type)
 {
 	iter->event_type = event_type;
 	iter->current = current;
diff --git a/src/xml.c b/src/xml.c
@@ -76,14 +76,14 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
 			case CMARK_ORDERED_LIST:
 				cmark_strbuf_puts(xml, " type=\"ordered\"");
 				cmark_strbuf_printf(xml, " start=\"%d\"",
-					    cmark_node_get_list_start(node));
+				                    cmark_node_get_list_start(node));
 				delim = cmark_node_get_list_delim(node);
 				if (delim == CMARK_PAREN_DELIM) {
 					cmark_strbuf_puts(xml,
-							  " delim=\"paren\"");
+					                  " delim=\"paren\"");
 				} else if (delim == CMARK_PERIOD_DELIM) {
 					cmark_strbuf_puts(xml,
-							  " delim=\"period\"");
+					                  " delim=\"period\"");
 				}
 				break;
 			case CMARK_BULLET_LIST:
@@ -93,8 +93,8 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
 				break;
 			}
 			cmark_strbuf_printf(xml, " tight=\"%s\"",
-			    (cmark_node_get_list_tight(node) ?
-			     "true" : "false"));
+			                    (cmark_node_get_list_tight(node) ?
+			                     "true" : "false"));
 			break;
 		case CMARK_NODE_CODE_BLOCK:
 			if (node->as.code.info.len > 0) {