You can just include "<br />" as part of your text.

On Thu, Dec 16, 2010 at 9:18 PM, Andrew Burleson <burles...@gmail.com>wrote:

> Here's what I *want*
>
> .fooclass
>    This is some text that I want inside this div. <br />
>    Because there's going to be some wrapping going on I want to
> control where line breaks are rendered. <br />
>
> Now, sticking those br tags doesn't do anything obviously.
>
> If I put
> .fooclass
>    Line one goes here
>    %br Line two goes here
>    %br Line three goes here
>
> ... then it *kinda* works, but it's rendering like this: "<br>Line two
> goes here</br>" ... which is totally bogus.
>
> I can put
> .fooclass
>    Line one
>    %br/
>        Line Two
>    %br/
>        Line Three
>
> ... but I'd hardly call that Markup Haiku!!
>
> There has to be a better way to manually control the rendering of line
> breaks, but I haven't been able to find it. Help??
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to h...@googlegroups.com.
> To unsubscribe from this group, send email to
> haml+unsubscr...@googlegroups.com <haml%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to h...@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