Browse code

Also use svg prefix as standalone class

Benjamin Roth authored on23/04/2020 23:00:13
Showing1 changed files
... ...
@@ -49,7 +49,7 @@ class InsertTagsListener
49 49
 
50 50
                 if ($strId)
51 51
                 {
52
-                    $template = '<svg id="'.$strId.'" class="%s"><use xlink:href="#%s"></use></svg>';
52
+                    $template = '<svg id="'.$strPrefix.' '.$strId.'" class="%s"><use xlink:href="#%s"></use></svg>';
53 53
                 }
54 54
                 return sprintf($template,$strClasses,$strSvgId);
55 55
             }