Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable rewriting of language or template specific parts. #60

Closed
Jaspur opened this issue Mar 23, 2014 · 1 comment
Closed

Disable rewriting of language or template specific parts. #60

Jaspur opened this issue Mar 23, 2014 · 1 comment

Comments

@Jaspur
Copy link

Jaspur commented Mar 23, 2014

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;
@jrit
Copy link
Collaborator

jrit commented Jun 19, 2015

This should be resolved, there are some very similar test cases in place to prevent regression. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants