Skip to content

Commit

Permalink
Stop to call SetChanged on HtmlTextNode
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMagnan committed Apr 27, 2024
1 parent 98fd0db commit 5c5df97
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/HtmlAgilityPack.Shared/HtmlNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,11 @@ public string Name
set
{
SetName(value);
SetChanged();

if (!(this is HtmlTextNode))
{
SetChanged();
}
}
}

Expand Down

0 comments on commit 5c5df97

Please sign in to comment.