@@ -37,7 +37,8 @@ const svgWhiteList_ = {
37
37
feMorphology : [ 'in' , 'operator' , 'radius' ] ,
38
38
feOffset : [ 'dx' , 'in' , 'dy' , 'result' ] ,
39
39
filter : [ 'color-interpolation-filters' , 'filterRes' , 'filterUnits' , 'height' , 'primitiveUnits' , 'requiredFeatures' , 'width' , 'x' , 'xlink:href' , 'y' ] ,
40
- foreignObject : [ 'visibility' , 'font-size' , 'height' , 'opacity' , 'requiredFeatures' , 'width' , 'x' , 'y' ] ,
40
+ foreignObject : [ 'visibility' , 'font-size' , 'height' , 'opacity' , 'requiredFeatures' , 'width' , 'x' , 'y' , 'style' , 'class' ] ,
41
+ div : [ 'visibility' , 'font-size' , 'height' , 'opacity' , 'requiredFeatures' , 'width' , 'x' , 'y' , 'style' , 'class' ] ,
41
42
g : [ 'visibility' , 'clip-path' , 'clip-rule' , 'fill' , 'fill-opacity' , 'fill-rule' , 'filter' , 'mask' , 'opacity' , 'requiredFeatures' , 'stroke' , 'stroke-dasharray' , 'stroke-dashoffset' , 'stroke-linecap' , 'stroke-linejoin' , 'stroke-miterlimit' , 'stroke-opacity' , 'stroke-width' , 'systemLanguage' , 'font-family' , 'font-size' , 'font-style' , 'font-weight' , 'text-anchor' ] ,
42
43
image : [ 'visibility' , 'clip-path' , 'clip-rule' , 'filter' , 'height' , 'mask' , 'opacity' , 'requiredFeatures' , 'systemLanguage' , 'width' , 'x' , 'xlink:href' , 'xlink:title' , 'y' ] ,
43
44
line : [ 'visibility' , 'clip-path' , 'clip-rule' , 'fill' , 'fill-opacity' , 'fill-rule' , 'filter' , 'marker-end' , 'marker-mid' , 'marker-start' , 'mask' , 'opacity' , 'requiredFeatures' , 'stroke' , 'stroke-dasharray' , 'stroke-dashoffset' , 'stroke-linecap' , 'stroke-linejoin' , 'stroke-miterlimit' , 'stroke-opacity' , 'stroke-width' , 'systemLanguage' , 'x1' , 'x2' , 'y1' , 'y2' ] ,
0 commit comments