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

Rendering stops after 2nd double quote #21

Closed
countarthur opened this issue Jul 20, 2015 · 3 comments
Closed

Rendering stops after 2nd double quote #21

countarthur opened this issue Jul 20, 2015 · 3 comments
Labels

Comments

@countarthur
Copy link

I apologise in advance if this is a daft question, I'm new to both PHP and Foil.

I have the following code within a template:

screenshot

My problem is that the rendering seems to stop after the 2nd double quote is encountered, i.e. I do not get all the table column headers returned. Please can you confirm what I am doing wrong?

Thanks very much for your time and thanks for Foil as well...very impressive! I was going to use Plates until I came across your blog post. Keep up the good work.

@gmazzap
Copy link
Contributor

gmazzap commented Jul 20, 2015

@countarthur thank for your interest in Foil.

Can you please post the HTML rendered? Seems there is nothing wrong in the code...


PS: You can just copy and paste code in the issue text. No need to build an image.

GitHub also support syntax highligh, see https://guides.github.com/features/mastering-markdown/#examples

@countarthur
Copy link
Author

Thanks for the response Giuseppe.

I've discovered what's going wrong. I'm currently replacing Twig rendering with Foil rendering and was viewing the Foil output via the Eclipse debugger. There seems to be a bug in Eclipse where it truncates the variable's value even when the maximum characters to display is set to unlimited.

Apologies for wasting your time.

@gmazzap
Copy link
Contributor

gmazzap commented Jul 21, 2015

Don't worry @countarthur I'm glad everything works.

@gmazzap gmazzap closed this as completed Jul 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants