Closed polarblau closed 11 years ago
This might be neat:
- php("$foo = 'foobar'") -# <?php $foo = 'foobar' ?> = php("$foo") -# <?php echo "$foo" ?>
but I don’t think this should be possible without modifying the Haml parser (and go a bit against Haml's general logic as well.
A possible work-around might be something like this:
- php("$foo = 'foobar'") -# <?php $foo = 'foobar' ?> = php_e("$foo") -# <?php echo "$foo" ?>
This might be neat:
but I don’t think this should be possible without modifying the Haml parser (and go a bit against Haml's general logic as well.
A possible work-around might be something like this: