Skip to content

Commit 3a8ca3d

Browse files
committed
Fix bug in painting <hr>.
1 parent 60150b3 commit 3a8ca3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/parser/htmlreader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ HorizontalRuleNode* HTMLReader::createHrNode()
455455
HTMLHrElement hrElement;
456456
HorizontalRuleNode *hrNode = new HorizontalRuleNode;
457457
hrNode = hrElement.returnNode();
458+
hrNode->setIsOpen(false);
458459

459460
return hrNode;
460461
}

0 commit comments

Comments
 (0)