Commit 3a92084e authored by Nikias Bassen's avatar Nikias Bassen

xplist: Don't escape " and ' characters in node_to_xml

parent eb7078be
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment