Description
The problem is that the original node is removed to early which causes some code later on to loose its reference node. This patch fixes the issue:
Index: php/src/gadgets/templates/TemplateParser.php
===================================================================
157d156
< $node->parentNode->removeChild($node);
288a288
>
394a395
> return $node;
398a400
> return $node;
402a405
> return $node;