Skip to content

Commit

Permalink
Fixes emmetio#491 No expand when css abbr ends with :
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a committed Apr 2, 2017
1 parent 75443b3 commit 387b591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resolver/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ define(function(require, exports, module) {
}

if (!snippet) {
if (!abbrData.property) {
if (!abbrData.property || abbrData.property.endsWith(':')) {
return null;
}
snippet = abbrData.property + ':' + defaultValue;
Expand Down

0 comments on commit 387b591

Please sign in to comment.