Skip to content

Commit

Permalink
Don't chunk style tags
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-b-iodigital committed Mar 26, 2024
1 parent 6bb95ed commit 067f332
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ private List<string> ChunkGenericHtmlPage(HtmlDocument htmlDocument, string xpat
{
foreach (var node in nodes)
{
if (node.ParentNode.Name == "option" || node.ParentNode.Name == "label" || node.ParentNode.Name == "script")
if (node.ParentNode.Name == "option" || node.ParentNode.Name == "label" || node.ParentNode.Name == "script" || node.ParentNode.Name == "style")
{
continue;
}
Expand Down

0 comments on commit 067f332

Please sign in to comment.