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
Exception is thrown when a string containing 'less than' sign (<) is passed from controller to blade . #3
Comments
Hi @dhruva81 Thank you so much for your message and sharing your issue. If you already have an idea yourself on where the issue could be I am more than happy to hear. Kind regards, |
Hi @dhruva81 I created a test environment myself and tried everything the way you did. As far as I can reproduce and analyze it, the issue is with how Laravel Blade works. In Blade Templating To fix that issue you would need laravels builtin So in your case it would look like this:
Please check this solution in your environment and please also tell me if it fixes your issue :) Kind regards, |
Hi @dhruva81 As soon as you have been able to check the solution above, I am happy to get some feedback. Kind regards, |
Hi @ismaelw Thank you for your reply. I have tried using solution provided by you and it is working fine :)
Thank you very much 👍 💯 |
Hi @dhruva81 Thank you so much for your reply. And again, if I can help you with something else please cobtact me 👍🏼 |
Hi @ismaelw
The package is throwing exception when we pass a string containing 'less than ' character (<) from controller to blade tex file.
Kindly check following controller and blade files. These are not working and exception is thrown.
Controller
Blade
Exception
Ismaelw\LaraTeX\LaraTeX::parseError
But if I use 'less than' symbol (<) directly in blade, then it is working fine and PDF is generating.
For example - below code is working fine
Controller
Blade
Kindly help, how can I pass string containing less than sign (<) from controller to blade and render them in PDF.
Thank you
The text was updated successfully, but these errors were encountered: