aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check_content_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check_content_parser.c')
-rw-r--r--tests/check_content_parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/check_content_parser.c b/tests/check_content_parser.c
index ab6853a..783d3f3 100644
--- a/tests/check_content_parser.c
+++ b/tests/check_content_parser.c
@@ -100,6 +100,9 @@ test_fix_description(void **state)
s = blogc_fix_description(" bola\r\n guda lol\r\n asd\r\n");
assert_string_equal(s, "bola guda lol asd");
free(s);
+ s = blogc_fix_description("b'o\"l<>a");
+ assert_string_equal(s, "b&#x27;o&quot;l&lt;&gt;a");
+ free(s);
}