Well, would you know it, it appears that this is not a bug. I added this in 3.30, with a proper test (but apparently not too much docs apart from a comment in the code): when twig_roots are used, then the root is considered flushed, so flush will not output it.
So your original code was Ok after all, and my answer should have been an easy "I know, upgrade the module, it's fixed in the current version". ;--)
In reply to Re^3: XML Twig - Isolate Element
by mirod
in thread XML Twig - Isolate Element
by zacc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |