Remove newline after <p> - smu - smu - simple markup (Markdown) processor (fork, fixes + features)
(HTM) git clone git://git.codemadness.org/smu
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3dcb79863747053228b0f4812aa86e7e8a098c74
(DIR) parent 5bbc1243bc4fe6e594128c7dae7a52abcfe90757
(HTM) Author: Ypnose <Ypnose@users.noreply.github.com>
Date: Wed, 14 May 2014 22:32:35 +0200
Remove newline after <p>
Diffstat:
M smu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/smu.c b/smu.c
@@ -366,7 +366,7 @@ doparagraph(const char *begin, const char *end, int newblock) {
p = end;
if(p - begin <= 1)
return 0;
- fputs("<p>\n", stdout);
+ fputs("<p>", stdout);
process(begin, p, 0);
fputs("</p>\n", stdout);
return -(p - begin);