Open rmurphey opened 13 years ago
I haven't looked at this code in a long time. I'll try and see if it's an easy fix.
Also just curious, is this for client-side templating or are you generating it server-side with node or something?
If client-side and haml-js is causing trouble and you're not married to the idea of text-based templating, then https://github.com/creationix/dombuilder is really simple and fun.
Oops, sorry, I forgot that @aaronblohowiak is helping with this project. I'll still try to dig into the issue, but today is very busy for me today because of our product launch. Aaron, don't wait on me to diagnose the issue.
This is actually for client-side templating in a PhoneGap project with Dojo -- we're replacing the very basic Dojo templating with Haml instead. I don't think dombuilder would be a good fit for us for this, but I'll definitely check it out :)
I am away from keyboard until July 7th, can investigate then.
On Jul 1, 2011, at 10:32 AM, creationixreply@reply.github.com wrote:
Oops, sorry, I forgot that @aaronblohowiak is helping with this project. I'll still try to dig into the issue, but today is very busy for me today because of our product launch. Aaron, don't wait on me to disgnose the issue.
Reply to this email directly or view it on GitHub: https://github.com/creationix/haml-js/issues/42#issuecomment-1484538
Sorry for the delay, I am going to look into this during the next few days.
I have the following template:
And it results in the following error:
The issue is that there is no "+" after the play-button div string; however, if I put the img before that div, then everything works fine. I'm having a hard time tracking down where in the code this is getting assembled, any help would be welcome :)