-
Notifications
You must be signed in to change notification settings - Fork 6
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
Wrapped after rendering will be lost #8
Labels
Comments
Please attach an example php-file to help me reproduce the error. Maybe we'll need some escaping mechanism... |
this is a example:
$tplFile = 'some.tpl';
$data = [
'prefix' => '/path',
'className' => 'DemoController',
'namespace' => 'App\Controller',
];
$parser = new TextTemplate();
$code = $parser
->loadTemplate(\file_get_contents($tplFile))
->apply($data);
var_dump($code);
|
Please verify the last commit fixes this issue for you. (See unit-tests |
Yes, thank you very much :) please publish a new version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
before:
after:
please help fix it. thx
The text was updated successfully, but these errors were encountered: