Skip to content

Commit 5cf0a4f

Browse files
committed
Merge branch 't/9553'
2 parents 76f93c9 + 5e5565f commit 5cf0a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/dialogadvtab/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
onChange: function() {},
115115

116116
getStyle: function( name, defaultValue ) {
117-
var match = this.getValue().match( new RegExp( name + '\\s*:\\s*([^;]*)', 'i' ) );
117+
var match = this.getValue().match( new RegExp( '(?:^|;)\\s*' + name + '\\s*:\\s*([^;]*)', 'i' ) );
118118
return match ? match[ 1 ] : defaultValue;
119119
},
120120

0 commit comments

Comments
 (0)