aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremias Stotter <jeremias@stotter.eu>2021-11-20 21:21:49 +0100
committerJeremias Stotter <jeremias@stotter.eu>2021-11-20 21:21:49 +0100
commita3ecf1b971b896093894d1591bd6ade89b82026c (patch)
tree3d567560b556d953e03e6c4947de3c7e30dc1621
parent8af044b7f03f933a6a0c678ed3218335e96e2206 (diff)
downloadJBlog-a3ecf1b971b896093894d1591bd6ade89b82026c.tar.gz
JBlog-a3ecf1b971b896093894d1591bd6ade89b82026c.tar.bz2
JBlog-a3ecf1b971b896093894d1591bd6ade89b82026c.zip
Make quotes work better
-rw-r--r--md.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/md.c b/md.c
index 635b02b..7aacc3b 100644
--- a/md.c
+++ b/md.c
@@ -191,7 +191,8 @@ int parse_markdown(char* input, char* buffer, size_t buffer_size) {
strncat(pre_line_buffer, "</p><blockquote>", LINE_MAX -1);
in_paragraph = false;
} else {
- line_length = prepend(line_buffer, "<blockquote>");
+ line_length = prepend(line_buffer, "<blockquote><p>");
+ in_paragraph = true;
}
in_quotes = true;
}
Jeremias Stotters git repositories generated by CGIT