diff options
author | Nikias Bassen | 2016-11-13 01:22:19 +0100 |
---|---|---|
committer | Nikias Bassen | 2016-11-13 01:22:19 +0100 |
commit | 3a92084e80a65631a0c654943d9d20c1ebd88634 (patch) | |
tree | 95e2d901110cabb2fef12fc8caa0558fe3a555e5 | |
parent | eb7078be709b46eaa07792b677c33f64aea66d3a (diff) | |
download | libplist-3a92084e80a65631a0c654943d9d20c1ebd88634.tar.gz libplist-3a92084e80a65631a0c654943d9d20c1ebd88634.tar.bz2 |
xplist: Don't escape " and ' characters in node_to_xml
-rw-r--r-- | src/xplist.c | 10 |
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); |