Skip to content

Commit 729e0d5

Browse files
committed
feat(Svg): allow width and height attributes to Svg elements
1 parent 811aa1f commit 729e0d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

inc/Services/Svg.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ public function allow_svg_tag( $tags ) {
9191
'focusable' => [],
9292
'class' => [],
9393
'style' => [],
94+
'width' => [],
95+
'height' => [],
9496
];
9597

9698
$tags['path'] = [

0 commit comments

Comments
 (0)