In mkd_text(), I need to

1. not put out a trailing newline, and
 2. `emblock()` the token list to get my output.
This commit is contained in:
david parsons
2008-04-10 16:01:28 -07:00
parent ed662dfea3
commit 0f4ded4986
+1 -1
View File
@@ -1296,8 +1296,8 @@ mkd_text(char *bfr, int size, FILE *output, int flags)
f.flags = flags & USER_FLAGS;
reparse(bfr, size, 0, &f);
emblock(&f);
fwrite(T(f.out), S(f.out), 1, output);
putc('\n', output);
___mkd_freemmiot(&f);
return 0;