You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AssertionError [ERR_ASSERTION]: Input A expected to strictly equal input B:
+ expected - actual
{
- example: '<p>Hello</p>'
+ example: '<p>Hello</p>'
}
The decoded XML which contains valid < and > escapes does not result in the expected output as reported by @leafac.
The addition of the noDoubleEncoding:true option also does not correct the round trip XML->JS->XML.
noDoubleEncoding prevents re-encoding. It does not decode existing encoded entities. Please see the explanation here: #73 (comment). What you are looking for is probably someting like underscore's unescape. This library doesn't have such a function.
This previous defect does not seem to be fixed or has retured. I added the
noDoubleEncoding:true
to the convert() options using version 2.4.0To Reproduce defect 1:
Result:
The decoded XML which contains valid < and > escapes does not result in the expected output as reported by @leafac.
The addition of the
noDoubleEncoding:true
option also does not correct the round trip XML->JS->XML.To reproduce defect 2:
Result:
Originally posted by @crolex in #15 (comment)
The text was updated successfully, but these errors were encountered: