The behavior of CreateTextNode is nonstandard
In both XML(Document) and in the Javascript HTML DOM, CreateTextNode(value) creates a node where the value is encoded as text.
document.body.appendChild(document.createTextNode("Hello <b>World</b>"));
will append
Hello <b>World</b>
to the body.
Not so in HAP.
I would say that HAP's behavior is wrong. Fixing it would be quite a breaking change, but for 2.x I think it should be corrected.
Hello @gliljas ,
Thank you for the pull and the information.
We will look at it if that's too much a breaking change. If that's the case, as you said, we will move it to when we will be ready to make the v2.x.
Best Regards,
Jonathan
Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations • Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function