cmark

My personal build of CMark ✏️

Commit
64ed30ef85a6968509392224a6849907f554f174
Parent
92ace5f0d4ddf3f5f1d612bb0e5f0f3ade4b5adf
Author
John MacFarlane <jgm@berkeley.edu>
Date

Some astyle reformatting.

Diffstat

2 files changed, 9 insertions, 9 deletions

Status File Name N° Changes Insertions Deletions
Modified src/iterator.c 16 8 8
Modified src/xml.c 2 1 1
diff --git a/src/iterator.c b/src/iterator.c
@@ -7,14 +7,14 @@
 #include "iterator.h"
 
 static const int S_leaf_mask =
-	(1 << CMARK_NODE_HTML)        |
-	(1 << CMARK_NODE_HRULE)       |
-	(1 << CMARK_NODE_CODE_BLOCK)  |
-	(1 << CMARK_NODE_TEXT)        |
-	(1 << CMARK_NODE_SOFTBREAK)   |
-	(1 << CMARK_NODE_LINEBREAK)   |
-	(1 << CMARK_NODE_CODE)        |
-	(1 << CMARK_NODE_INLINE_HTML);
+    (1 << CMARK_NODE_HTML)        |
+    (1 << CMARK_NODE_HRULE)       |
+    (1 << CMARK_NODE_CODE_BLOCK)  |
+    (1 << CMARK_NODE_TEXT)        |
+    (1 << CMARK_NODE_SOFTBREAK)   |
+    (1 << CMARK_NODE_LINEBREAK)   |
+    (1 << CMARK_NODE_CODE)        |
+    (1 << CMARK_NODE_INLINE_HTML);
 
 cmark_iter*
 cmark_iter_new(cmark_node *root)
diff --git a/src/xml.c b/src/xml.c
@@ -98,7 +98,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
 			break;
 		case CMARK_NODE_HEADER:
 			cmark_strbuf_printf(xml, " level=\"%d\"",
-				node->as.header.level);
+			                    node->as.header.level);
 			break;
 		case CMARK_NODE_CODE_BLOCK:
 			if (node->as.code.info.len > 0) {