-
-
Notifications
You must be signed in to change notification settings - Fork 140
<body> tag with newline symbols doesn't get parsed #624
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Expected Behavior
"<body \n>hello</body>" gets parsed as it is. I've checked W3C HTML validator, and this is valid HTML. Strangely enough, the bug only applies to <body>.
Actual Behavior
No body is returned.
Steps to Reproduce
Try parsing the following string:
<!DOCTYPE html>
<html>
<head>
<title>Working</title>
</head>
<body
>hello world</body>
</htmlReproducible Demo
Environment
- Version: 3.0.0 (also tried on 1.4.0)
- Platform: macOS 12.3.1
- Browser: Chrome 103
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working