dwoo-project / dwoo

[UNMAINTAINED] php template engine
http://dwoo.org
GNU Lesser General Public License v3.0
167 stars 58 forks source link

[Constants] error when using double trailing slashes #63

Closed emulienfou closed 7 years ago

emulienfou commented 7 years ago

When using double trailing slashes \\ with constants, dwoo must output a single one \.

However this is not what's happening!

Example: {%Symfony\\Component\\HttpKernel\\Kernel::VERSION} need to output: <?php echo Symfony\Component\HttpKernel\Kernel::VERSION;?> but output: <?php echo Symfony\\Component\\HttpKernel\\Kernel::VERSION;?>