Open enyancc opened 1 month ago
Adding <use:dir/> tag within template that contains HTML would try to resolve regular tags as templates.
<use:dir/>
views/home.dark.php
<extends:layout.base title="[[The PHP Framework for future Innovators]]"/> <use:dir dir="partials" ns="partials"/> <stack:push name="styles"> <link rel="stylesheet" href="/styles/welcome.css"/> </stack:push> <define:body> <h1 class="main-title">The PHP Framework <span>for future Innovators</span></h1> <partials:router-link /> </define:body>
views/partials/router-link.dark.php
<a href="test.php">test</a>
throws exception "Unable to resolve import link"
link
<extends:layout.base title="[[The PHP Framework for future Innovators]]"/> <use:dir dir="partials" ns="partials"/> <stack:push name="styles"> <link rel="stylesheet" href="/styles/welcome.css"/> <!------ HERE -> </stack:push> <define:body> <h1 class="main-title">The PHP Framework <span>for future Innovators</span></h1> <partials:router-link/> </define:body>
Description
Adding
<use:dir/>
tag within template that contains HTML would try to resolve regular tags as templates.How To Reproduce
views/home.dark.php
views/partials/router-link.dark.php
throws exception "Unable to resolve import
link
"Additional Info