By encoding single/double quotes we can potentially break input, so lets stop doing this. This now ensures that this: <foo>a"b</foo> Is actually serialized back into the exact same instead of being serialized into: <foo>a"b</foo>