summaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'format.c')
-rw-r--r--format.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/format.c b/format.c
index d149def..7ded83c 100644
--- a/format.c
+++ b/format.c
@@ -98,8 +98,9 @@ d_char *not_really_markdown(const char *content)
char *p, *v;
/* work by lines */
- p = list = xs_split(content, "\n");
+ list = xs_split(content, "\n");
+ p = list;
while (xs_list_iter(&p, &v)) {
xs *ss = NULL;