samvincent / jekyll-haml

HAML html converter for Jekyll
MIT License
88 stars 40 forks source link

Automatic Excerpts Not whitespace-aware #2

Open eldondev opened 11 years ago

eldondev commented 11 years ago

So I have an issue where excerpts seem to end up causing errors because they aren't gracefully merged with the whitespace-awareness of haml. My workaround so far has been to explicitly define excerpts in the front-matter, but I feel like there's a better solution. I would gladly submit a pull request if anyone could give a thought on how they would like it to work.

dpmccabe commented 10 years ago

I played around with various HAML helpers to try to get it to preserve the whitespace properly, but gave up and started to see this issue as a sign that HAML and Liquid are simply too incompatible to be used together. I switched the project over to plain HTML, since I figured it was likely I'd continue to run into problems like this.