mammouth icon indicating copy to clipboard operation
mammouth copied to clipboard

support for <?php if (condition) :?> syntax

Open couhajjou opened this issue 10 years ago • 1 comments

We need to be able to mix the langage with html tags like in php :

template() != 'home'):?>
....
....

couhajjou avatar Aug 27 '14 14:08 couhajjou

At this time the only method that you can use is Heredoc

{{
if somecondition
  echo `html tags or plain text`
else
  echo `other html tags or plain text`
}}

And we will work the add this feature in the next release.

btwael avatar Aug 27 '14 15:08 btwael