... | ... |
@@ -23,13 +23,11 @@ class InsertTagsListener |
23 | 23 |
|
24 | 24 |
if ($elements[0] == 'svg') |
25 | 25 |
{ |
26 |
- if ($elements[1] && stripos('::', $elements[1]) !== 0) |
|
26 |
+ if ($elements[2]) |
|
27 | 27 |
{ |
28 |
- $fragments = explode('::', $elements[1]); |
|
29 |
- $elements[1] = $fragments[0]; |
|
30 |
- $strPrefix = $fragments[1]; |
|
31 |
- if (isset($fragments[2])) { |
|
32 |
- $strId = $fragments[2]; |
|
28 |
+ $strPrefix = $elements[2]; |
|
29 |
+ if (isset($elements[3])) { |
|
30 |
+ $strId = $elements[3]; |
|
33 | 31 |
} |
34 | 32 |
} |
35 | 33 |
if ($elements[1]) |