Browse Source

handle case when url is not a base64 format .

add quotes arround url() method parameter .
pull/2975/head
meyerc 6 years ago
parent
commit
2cb13fa8fa
  1. 3
      src/style_manager/model/Property.js

3
src/style_manager/model/Property.js

@ -201,7 +201,8 @@ const Property = Backbone.Model.extend(
}
if (fn && hasValue) {
value = `${fn}(${value})`;
const fnParameter = fn === 'url' ? `'${value}'` : value;
value = `${fn}(${fnParameter})`;
}
if (hasValue && this.get('important')) {

Loading…
Cancel
Save