From 699f4b4032431fbd7f4fbf13fe9e2b085225b215 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 24 Feb 2019 23:12:40 +0100 Subject: blogc: content: do not escape inline code this is more compatible with markdown spec[1] [1] https://daringfireball.net/projects/markdown/syntax#code --- src/blogc/content-parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/blogc/content-parser.c b/src/blogc/content-parser.c index d295a2c..047af4b 100644 --- a/src/blogc/content-parser.c +++ b/src/blogc/content-parser.c @@ -347,7 +347,7 @@ blogc_content_parse_inline_internal(const char *src, size_t src_len) free(tmp3); tmp3 = NULL; bc_string_append(rv, ""); - bc_string_append_escaped(rv, tmp2); + bc_string_append(rv, tmp2); bc_string_append(rv, ""); current = tmp - src; tmp = NULL; @@ -376,7 +376,7 @@ blogc_content_parse_inline_internal(const char *src, size_t src_len) free(tmp3); tmp3 = NULL; bc_string_append(rv, ""); - bc_string_append_escaped(rv, tmp2); + bc_string_append(rv, tmp2); bc_string_append(rv, ""); current = tmp - src + 1; tmp = NULL; -- cgit v1.2.3-18-g5258