Skip to content

Commit

Permalink
Emit '\n' after the XHTML root tag.
Browse files Browse the repository at this point in the history
Fixes #163.
  • Loading branch information
mity committed Jul 15, 2021
1 parent ccc8b64 commit ea18872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion md2html/md2html.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ process_file(FILE* in, FILE* out)
fprintf(out, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
fprintf(out, "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" "
"\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n");
fprintf(out, "<html xmlns=\"http://www.w3.org/1999/xhtml\">");
fprintf(out, "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n");
} else {
fprintf(out, "<!DOCTYPE html>\n");
fprintf(out, "<html>\n");
Expand Down

0 comments on commit ea18872

Please sign in to comment.