Fix double icon rendering.
This commit is contained in:
1 parent
04c0c75e14
commit
7c249a1254
1 file changed
+1
@@ -73,6 +73,7 @@ class EncoderSubscriber implements EventSubscriberInterface
|
||||
if ($value instanceof Icon) {
|
||||
// Do not encode the icon, as it is generated in an separate icon file.
|
||||
$event->setSuccessful();
|
||||
$event->stopPropagation();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user