Skip to content

Commit

Permalink
Fix parsing for argument whitespace. Fixes #4643.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed May 31, 2017
1 parent 3380c78 commit a29d887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mixins/property-effects.html
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@
const SQUOTE_STRING = '(?:' + '\'(?:[^\'\\\\]|\\\\.)*\'' + ')';
const DQUOTE_STRING = '(?:' + '"(?:[^"\\\\]|\\\\.)*"' + ')';
const STRING = '(?:' + SQUOTE_STRING + '|' + DQUOTE_STRING + ')';
const ARGUMENT = '(?:' + IDENT + '|' + NUMBER + '|' + STRING + '\\s*' + ')';
const ARGUMENT = '(?:(' + IDENT + '|' + NUMBER + '|' + STRING + ')\\s*' + ')';
const ARGUMENTS = '(?:' + ARGUMENT + '(?:,\\s*' + ARGUMENT + ')*' + ')';
const ARGUMENT_LIST = '(?:' + '\\(\\s*' +
'(?:' + ARGUMENTS + '?' + ')' +
Expand Down
2 changes: 1 addition & 1 deletion test/unit/property-effects-elements.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
computed-inline="{{computeInline(value,add, divide)}}"
computed-inline2="{{computeInline(value, add,divide)}}"
computed-inline3="{{computeInline(value, add,
divide)}}"
divide )}}"
computedattribute$="{{computeInline(value, add,divide)}}"
computedattribute2$="{{computeInline(
value, add, divide)}}"
Expand Down

0 comments on commit a29d887

Please sign in to comment.