Avoid using strbuf_printf when not needed.
diff --git a/src/xml.c b/src/xml.c
index 7eec5a6..815afa5 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -40,8 +40,8 @@
 
 	if (entering) {
 		indent(state);
-		cmark_strbuf_printf(xml, "<%s",
-		                    cmark_node_get_type_string(node));
+		cmark_strbuf_putc(xml, '<');
+		cmark_strbuf_puts(xml, cmark_node_get_type_string(node));
 
 		if (options & CMARK_OPT_SOURCEPOS && node->start_line != 0) {
 			cmark_strbuf_printf(xml, " sourcepos=\"%d:%d-%d:%d\"",
@@ -135,8 +135,9 @@
 	} else if (node->first_child) {
 		state->indent -= 2;
 		indent(state);
-		cmark_strbuf_printf(xml, "</%s>\n",
-		                    cmark_node_get_type_string(node));
+		cmark_strbuf_puts(xml, "</");
+		cmark_strbuf_puts(xml, cmark_node_get_type_string(node));
+		cmark_strbuf_puts(xml, ">\n");
 	}
 
 	return 1;