We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a19a6ea commit af5a120Copy full SHA for af5a120
html5ever/src/tree_builder/rules.rs
@@ -121,7 +121,7 @@ where
121
Token::Characters(SplitStatus::Whitespace, _) => ProcessResult::Done,
122
Token::Comment(text) => self.append_comment_to_doc(text),
123
124
- Token::Tag(tag @ tag!(<html> | </body>)) => {
+ Token::Tag(tag @ tag!(<html>)) => {
125
self.create_root(tag.attrs);
126
self.mode.set(InsertionMode::BeforeHead);
127
ProcessResult::Done
0 commit comments