Hi all,

I'm working on the NHaml .Net port of the Haml project (over at
https://github.com/NHaml/NHaml/tree/NHaml4), and I'm struggling with
whitespace munching.

I've got the surrounding-whitespace down easily enough, but the
interior whitespace munching is causing me a few issues.

Is there a reason why the following Haml:

%p<
  %p
  %p

Is rendered as:

<p><p></p>
<p></p></p>

And not as:

<p><p></p>
  <p></p></p>

The current whitespace munching implementation in Haml seems to be
munching more than just the whitespace immediately inside a tag?

Would love to hear thoughts on this and some suggestions how NHaml
should tackle this!

Thanks,

Russ

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to