diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-05-24 00:58:41 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-05-24 00:58:41 +0200 |
commit | 7f5ccf8cd227e14683ef6c3bef5afb58f6857918 (patch) | |
tree | 16cb1d1b3acd1a286d0523bf9a0ba9ad7335c680 /src/content-parser.c | |
parent | 1605bf39ab342ea5d904fe96df81dd0f55bd3bcf (diff) | |
download | blogc-7f5ccf8cd227e14683ef6c3bef5afb58f6857918.tar.gz blogc-7f5ccf8cd227e14683ef6c3bef5afb58f6857918.tar.bz2 blogc-7f5ccf8cd227e14683ef6c3bef5afb58f6857918.zip |
content-parser: encode HTML entities in DESCRIPTION variable
Diffstat (limited to 'src/content-parser.c')
-rw-r--r-- | src/content-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |