summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2016-11-13 01:22:19 +0100
committerGravatar Nikias Bassen2016-11-13 01:22:19 +0100
commit3a92084e80a65631a0c654943d9d20c1ebd88634 (patch)
tree95e2d901110cabb2fef12fc8caa0558fe3a555e5 /src
parenteb7078be709b46eaa07792b677c33f64aea66d3a (diff)
downloadlibplist-3a92084e80a65631a0c654943d9d20c1ebd88634.tar.gz
libplist-3a92084e80a65631a0c654943d9d20c1ebd88634.tar.bz2
xplist: Don't escape " and ' characters in node_to_xml
Diffstat (limited to 'src')
-rw-r--r--src/xplist.c10
1 files changed, 0 insertions, 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);