changeset 31:c7b4f3cb6de8

post: insert a newline after each post </p>
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Thu, 05 Feb 2009 16:45:10 -0500
parents 34b068e2fc0f
children bd3715c51969
files post.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/post.c	Thu Feb 05 16:44:43 2009 -0500
+++ b/post.c	Thu Feb 05 16:45:10 2009 -0500
@@ -82,7 +82,7 @@
 			case CATP_PAR:
 				if (tmp == '\n') {
 					fwrite(ibuf+sidx, 1, eidx-sidx, post->out);
-					fwrite("</p>", 1, 4, post->out);
+					fwrite("</p>\n", 1, 5, post->out);
 					sidx = eidx+1;
 					state = CATP_SKIP;
 				}