From 7f5ccf8cd227e14683ef6c3bef5afb58f6857918 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Tue, 24 May 2016 00:58:41 +0200 Subject: content-parser: encode HTML entities in DESCRIPTION variable --- src/content-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/content-parser.c') diff --git a/src/content-parser.c b/src/content-parser.c index 3cb0ddb..2062814 100644 --- a/src/content-parser.c +++ b/src/content-parser.c @@ -110,7 +110,7 @@ blogc_fix_description(const char *paragraph) break; current++; } - tmp = sb_strdup(sb_str_strip(rv->str)); + tmp = blogc_htmlentities(sb_str_strip(rv->str)); sb_string_free(rv, true); return tmp; } -- cgit v1.2.3-18-g5258