jlong/serve — Issue #63: Serve+Haml renders improper closing </body>
Author: resistorsoftware
Created: 2012-01-03 16:23:53+00:00
State: open

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