diff options
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/SvgController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/SvgController.php b/core/Controller/SvgController.php index b1a78752c41..3dedccc6377 100644 --- a/core/Controller/SvgController.php +++ b/core/Controller/SvgController.php @@ -111,7 +111,7 @@ class SvgController extends Controller { } // add fill (fill is not present on black elements) - $fillRe = '/<((circle|rect|path)((?!fill)[a-z0-9 =".\-#])+)\/>/mi'; + $fillRe = '/<((circle|rect|path)((?!fill)[a-z0-9 =".\-#():;])+)\/>/mi'; $svg = preg_replace($fillRe, '<$1 fill="#' . $color . '"/>', $svg); |