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

LoadHtml(string html) have a bug after LoadHtml i get DocumentNode OuterHtml #304

Closed
AtlantisDe opened this issue Jun 17, 2019 · 4 comments
Assignees

Comments

@AtlantisDe
Copy link

Description

Loads the HTML document from the specified string.
then after document.DocumentNode.InnerHtml;
The source code has changed
In the title tag section

before

  • LoadHtml(string html);
  • here is html
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><google></title>
</head>
<body>
</body>
</html>

after

  • document.DocumentNode.OuterHtml;
  • here is html
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><google></google></title>
</head>
<body>
</body>
</html>

Was changed

  • Title content has been changed
<title><google></google></title>

pls help me

tks very much
@JonathanMagnan JonathanMagnan self-assigned this Jun 17, 2019
@JonathanMagnan
Copy link
Member

Thank you for reporting.

We will check if that's possible to parse tag inside a tag.

Normally a title doesn't contain any tag, it should be &lt;google&gt;

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

@AtlantisDe
Copy link
Author

hello but i need this like style

<google>

thanks i find other way.....do it

@JonathanMagnan
Copy link
Member

Hello @AtlantisDe ,

The v1.11.8 has been released.

Let me know if that is now working as you expect.

@AtlantisDe
Copy link
Author

Hello @AtlantisDe ,

The v1.11.8 has been released.

Let me know if that is now working as you expect.

Thank you very much....

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