Skip to content

Commit 90f875d

Browse files
committed
Removes unnecessary parens and whitespace
1 parent dd92050 commit 90f875d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/csscss/parser/css.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ class Parser < Parslet::Parser
1919

2020
rule(:blank_attribute) { str(";") >> space? }
2121

22-
rule(:attribute_value) { (any_quoted {any}) | (str('/*').absent? >> match["^;}"]) | raw_comment }
22+
rule(:attribute_value) { any_quoted { any } | (str('/*').absent? >> match["^;}"]) | raw_comment }
2323

2424
rule(:attribute) {
2525
match["^:{}"].repeat(1).as(:property) >>
2626
str(":") >>
2727
(
2828
(stri("data:").absent? >> attribute_value) |
29-
(stri("data:").present? >> attribute_value.repeat(1) >> str(";") >> attribute_value.repeat(1))
29+
(stri("data:").present? >> attribute_value.repeat(1) >> str(";") >> attribute_value.repeat(1))
3030
).repeat(1).as(:value) >>
3131
str(";").maybe >>
3232
space?

0 commit comments

Comments
 (0)