aboutsummaryrefslogtreecommitdiffstats
path: root/src/content-parser.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-05 19:39:45 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-05 19:39:45 +0100
commitde986bafd7d765e94059c0e88df93a352d85d7aa (patch)
treec7a2bd75c681bbf68ce17ad3382b5dfc75813e92 /src/content-parser.c
parent2bfe68f6f9fdd34588b8dde73c1a4e96c5a54b7d (diff)
downloadblogc-de986bafd7d765e94059c0e88df93a352d85d7aa.tar.gz
blogc-de986bafd7d765e94059c0e88df93a352d85d7aa.tar.bz2
blogc-de986bafd7d765e94059c0e88df93a352d85d7aa.zip
content-parser: fixed a bug in previous patch
Diffstat (limited to 'src/content-parser.c')
-rw-r--r--src/content-parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content-parser.c b/src/content-parser.c
index f5e3aec..e636636 100644
--- a/src/content-parser.c
+++ b/src/content-parser.c
@@ -374,6 +374,9 @@ blogc_content_parse_inline(const char *src)
current += 1;
}
}
+ else {
+ sb_string_append_c(rv, c);
+ }
break;
case '&':