Skip to content

Commit

Permalink
fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Mar 29, 2024
1 parent a792bd2 commit 765f254
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
4 changes: 3 additions & 1 deletion crates/biome_css_parser/src/lexer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,9 @@ impl<'src> CssLexer<'src> {
match dispatched {
WHS => {
let kind = self.consume_newline_or_whitespaces();
self.after_newline = kind == Self::NEWLINE;
if kind == Self::NEWLINE {
self.after_newline = true;
}
kind
}
QOT => self.consume_string_literal(current),
Expand Down
34 changes: 17 additions & 17 deletions crates/biome_html_parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
[package]
authors.workspace = true
authors.workspace = true
categories.workspace = true
description = "<DESCRIPTION>"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
name = "biome_html_parser"
description = "<DESCRIPTION>"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
name = "biome_html_parser"
repository.workspace = true
version = "0.0.0"
version = "0.0.0"

[lints]
workspace = true

[dependencies]
biome_console = { workspace = true }
biome_diagnostics = { workspace = true }
biome_html_factory = { workspace = true }
biome_html_syntax = { workspace = true }
biome_parser = { workspace = true }
biome_rowan = { workspace = true }
biome_console = { workspace = true }
biome_diagnostics = { workspace = true }
biome_html_factory = { workspace = true }
biome_html_syntax = { workspace = true }
biome_parser = { workspace = true }
biome_rowan = { workspace = true }
biome_unicode_table = { workspace = true }
tracing = { workspace = true }
tracing = { workspace = true }


[dev-dependencies]
biome_test_utils = { path = "../biome_test_utils" }
insta = { workspace = true }
tests_macros = { path = "../tests_macros" }
insta = { workspace = true }
tests_macros = { path = "../tests_macros" }

0 comments on commit 765f254

Please sign in to comment.