Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into nested-documents
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 committed Jan 18, 2024
2 parents bd46a95 + f02504a commit 0df1baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static void print_document(cmark_node *document, writer_format writer,
fprintf(stderr, "Unknown format %d\n", writer);
exit(1);
}
printf("%s", result);
fwrite(result, strlen(result), 1, stdout);
document->mem->free(result);
}

Expand Down

0 comments on commit 0df1baa

Please sign in to comment.