aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/blogc/content-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc/content-parser.c b/src/blogc/content-parser.c
index 415e5ee..86aa74b 100644
--- a/src/blogc/content-parser.c
+++ b/src/blogc/content-parser.c
@@ -836,7 +836,7 @@ blogc_content_parse(const char *src, size_t *end_excerpt, char **title,
(real_end != 0 ? real_end : current);
tmp = bc_strndup(src + start, end - start);
if (title != NULL && *title == NULL)
- *title = bc_strdup(tmp);
+ *title = blogc_htmlentities(tmp);
parsed = blogc_content_parse_inline(tmp);
slug = blogc_slugify(tmp);
if (slug == NULL)