imlucas / gulp-juice

process html files through juice to inline CSS
10 stars 17 forks source link

Disable rewriting of language or template specific parts. #1

Closed Jaspur closed 10 years ago

Jaspur commented 10 years ago

At the moment the following isn't working, when you make use of TemplateParsers:

// from
<p>Dear {{ $person->user->firstname }},</p>
// to
<p>Dear {{ $person-&gt;user-&gt;firstname }},</p>

And the following code is also incorrect parsed:

// from
<?php
$demo = Demo::whereEmail($email)->first();
?>
// to
first();
?&gt;
imlucas commented 10 years ago

dupe of LearnBoost/juice#60