--
You received this message because you are subscribed to the Google Groups "Haml" group.
To post to this group, send email to ha...@googlegroups.com.
To unsubscribe from this group, send email to haml+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.
First of all: Don't worry on where the <br/> appears on the rendered
HTML. It will work fine.
Second: <br/> is one of several "strange" tags which are meant to be
empty - that's what the final '/' means in XML: Don't expect a closing
tag for this.
You can, as suggested, include the '<br/>' as part of your text - but
I agree, that's not what I have in mind when using HAML. But:
.fooclass
Line one
%br
Line two
%br
Line three
renders:
<div class='fooclass'>
Line one
<br />
Line two
<br />
Line three
</div>
Greetings,