Closed zymanch closed 5 years ago
Confirmed, we have a regression.
A temporary work-around can be:
$outputHtml = $pug->renderFile('index.pug');
$pug->getRenderer()->initCompiler();
$debugHtml = $pug->renderFile('debug_panel.pug');
Please run composer update
to upgrade phug/compiler and phug/renderer, it should fix it.
Hello,
I encountered an issue with the following code: index.pug
layout.pug
debug_panel.pug
I expected to get for $debugHtml:
But I actually get:
Problem with Layout, it saved after first renderFile but i think it must be cleared.
Thanks!