Skip to content

Commit

Permalink
Allow "!" in custom property values
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Mar 22, 2018
1 parent 00873b0 commit e13c4d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc-src/SASS_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

## 3.5.6 (Unreleased)

* Allow `!` in custom property values.

* `var()` may now be passed in place of multiple arguments to `rgb()`, `rgba()`,
`hsl()` and `hsla()`.

Expand Down
2 changes: 1 addition & 1 deletion lib/sass/scss/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ def declaration_value_token(top_level)
(?!
url\(
)
[^()\[\]{}"'#/ \t\r\n\f#{top_level ? ";!" : ""}]
[^()\[\]{}"'#/ \t\r\n\f#{top_level ? ";" : ""}]
|
\#(?!\{)
|
Expand Down

0 comments on commit e13c4d2

Please sign in to comment.