TJ and Jade Friends-
I'll start with the punchline.
*How can I best let PHP tags pass through Jade untouched?*
form#new-vendor-form(action="<?php echo route('vendors') ?>", method="POST")
form#new-vendor-form(action="\<?php echo route('vendors') ?\>",
But both result in:
<form id="new-vendor-form" action="<?php echo route('vendors') ?>"
Could it be as simple as making this line:
only escape html tags that don't have the ? before/after them?
Read on for some context.
I'm working on a cool
White House CTO that's trying to make it easier for the U.S.
government to acquire technology from startups and small tech companies.
Unfortunately, we're bound to using PHP for the core of the app. But we're
trying to make that as painless as possible. We've got stylus working, and
we're using a good framework called Laravel <http://laravel.com>. We put a
lot of effort into getting this PHP port of
jade<https://github.com/dz0ny/jade.php>integrated and it works okay,
but we're running into too many little
annoying issues and we'd rather stick with proper Jade if possible.
TJ, hopefully you can help your friends south of the border! :)