serve icon indicating copy to clipboard operation
serve copied to clipboard

Serve+Haml renders improper closing </body>

Open resistorsoftware opened this issue 13 years ago • 1 comments

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???

resistorsoftware avatar Jan 03 '12 16:01 resistorsoftware

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

ntalbott avatar Apr 06 '12 16:04 ntalbott