Skip to content

Commit 386dc19

Browse files
author
Frank Jordi
committed
add single quotes to clip path url
1 parent 0782274 commit 386dc19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/drawing/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ drawing.setClipUrl = function(s, localId, gd) {
10281028
var context = gd._context;
10291029
var baseUrl = context._exportedPlot ? '' : (context._baseUrl || '');
10301030

1031-
s.attr('clip-path', 'url(' + baseUrl + '#' + localId + ')');
1031+
s.attr('clip-path', 'url(\'' + baseUrl + '#' + localId + '\')');
10321032
};
10331033

10341034
drawing.getTranslate = function(element) {

0 commit comments

Comments
 (0)