Skip to content

Commit

Permalink
fix(parser/html): allow multi line attribute values
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 committed Sep 20, 2024
1 parent 83626d9 commit ca594d1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions crates/biome_html_parser/src/lexer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,6 @@ impl<'src> HtmlLexer<'src> {
None => {}
}
}
WHS if matches!(chr, b'\n' | b'\r') => {
let unterminated =
ParseDiagnostic::new("Missing closing quote", start..self.text_position())
.with_hint("The closing quote must be on the same line.");

self.diagnostics.push(unterminated);

return ERROR_TOKEN;
}
// we don't need to handle IDT because it's always len 1.
UNI => self.advance_char_unchecked(),

Expand Down

0 comments on commit ca594d1

Please sign in to comment.