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

Serve+Haml renders improper closing </body> #63

Open
resistorsoftware opened this issue Jan 3, 2012 · 1 comment
Open

Serve+Haml renders improper closing </body> #63

resistorsoftware opened this issue Jan 3, 2012 · 1 comment

Comments

@resistorsoftware
Copy link

Interesting bug.

I use serve to prototype CMS based layouts. I use a directory for each layout... so I have views/news and in there...

views/news/_layout.html.haml and views/news/index.html.haml

It all renders fine, but serve+haml always inserts a closing tag at the end of where the content in index is yielding.

Not ideal for sure.. any idea why this happens. I suppose I could only blame Haml since it is responsible for the actual content being rendered... but then again...

Anyone else seen serve render content where haml mistakenly closed of yielded content???

@ntalbott
Copy link
Contributor

ntalbott commented Apr 6, 2012

Can you strip this down to a simple serve project that demonstrates the problem?

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