From 3a92084e80a65631a0c654943d9d20c1ebd88634 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 13 Nov 2016 01:22:19 +0100 Subject: xplist: Don't escape " and ' characters in node_to_xml --- src/xplist.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/xplist.c b/src/xplist.c index 4438236..91b4645 100644 --- a/src/xplist.c +++ b/src/xplist.c @@ -243,16 +243,6 @@ static void node_to_xml(node_t* node, bytearray_t **outbuf, uint32_t depth) str_buf_append(*outbuf, ">", 4); start = cur+1; break; - case '\'': - str_buf_append(*outbuf, node_data->strval + start, cur - start); - str_buf_append(*outbuf, "'", 6); - start = cur+1; - break; - case '"': - str_buf_append(*outbuf, node_data->strval + start, cur - start); - str_buf_append(*outbuf, """, 6); - start = cur+1; - break; case '&': str_buf_append(*outbuf, node_data->strval + start, cur - start); str_buf_append(*outbuf, "&", 5); -- cgit v1.1-32-gdbae