aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremias Stotter <jeremias@stotter.eu>2022-02-20 23:00:32 +0100
committerJeremias Stotter <jeremias@stotter.eu>2022-02-20 23:00:32 +0100
commitd739894aaf50aacc40839f84eac81599261c7df1 (patch)
tree4251f32c33639c3d4252b2b072d9e7755b538088
parent7dc0b30a7eb628de1591e83b97a2cffbae763fbf (diff)
downloadJBlog-d739894aaf50aacc40839f84eac81599261c7df1.tar.gz
JBlog-d739894aaf50aacc40839f84eac81599261c7df1.tar.bz2
JBlog-d739894aaf50aacc40839f84eac81599261c7df1.zip
Corrected some ul stuff
-rw-r--r--md.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/md.c b/md.c
index 9f2f0f5..a1692a8 100644
--- a/md.c
+++ b/md.c
@@ -607,7 +607,8 @@ int parse_markdown(char* input, char* buffer, size_t buffer_size) {
break;
}
// Here lists are created
- if(list_waiting) {
+ if(list_waiting && dash_chain <= 1) {
+ dash_chain = 0;
newline = false;
/* Look if we have an ancestor somewhere that has spaces fewer or equal to the spaces we skipped.
* On fewer spaces we enter a new list below the one we found
Jeremias Stotters git repositories generated by CGIT