summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2018-09-15 02:59:47 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2018-09-15 02:59:47 -0700
commite179131de1ee31e8e734d239caca314de6131388 (patch)
treec778d6f27987bd1dd29ee6086631c1ed37136e55
parent512d44cf2f60013d8dbbfb31e23a83ec2bedfde9 (diff)
downloadjournal-e179131de1ee31e8e734d239caca314de6131388.tar.gz
journal-e179131de1ee31e8e734d239caca314de6131388.tar.xz
fix reversed <p> tags
-rw-r--r--journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/journal.c b/journal.c
index 7feae8b..9feea10 100644
--- a/journal.c
+++ b/journal.c
@@ -50,7 +50,7 @@ static void print_entry(char *entry)
}
if (nl > 0) {
- printf(nl == 1 ? "<br>" : "<p></p>");
+ printf(nl == 1 ? "<br>" : "</p><p>");
nl = 0;
}