summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/iterator.c16
-rw-r--r--src/xml.c2
2 files changed, 9 insertions, 9 deletions
diff --git a/src/iterator.c b/src/iterator.c
index 7f90cc7..4daec2d 100644
--- 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
index 46fc840..f630aba 100644
--- 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) {