phug-php / phug

Phug - The Pug Template Engine for PHP
https://phug.selfbuild.fr
MIT License
63 stars 3 forks source link

Recursive interpolation #4

Closed kylekatarnls closed 7 years ago

kylekatarnls commented 7 years ago

Phug has a similar issue to https://github.com/pug-php/pug/issues/154:

Input:

p #[em #[strong Hello]]

Output:

<p>#[em <strong>Hello</strong>]</p>

Expected (pugjs):

<p><em><strong>Hello</strong></em></p>