Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The behavior of CreateTextNode is nonstandard #296

Open
gliljas opened this issue May 6, 2019 · 1 comment
Open

The behavior of CreateTextNode is nonstandard #296

gliljas opened this issue May 6, 2019 · 1 comment
Assignees

Comments

@gliljas
Copy link

gliljas commented May 6, 2019

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 &lt;b&gt;World&lt;/b&gt;

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.

@JonathanMagnan
Copy link
Member

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 ExtensionsEntity Framework ClassicBulk OperationsDapper Plus

Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval FunctionSQL Eval Function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants