Yeah, I feel discouraged.
On Nov 30, 10:34 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> This isn't a bug, it's a consequence of the rule that multiline blocks
> must have the pipe even on the last line, a rule which is in place to
> discourage people from using multiline blocks in the first place. If you
> really need to put two multiline blocks next to each other, put a
> comment (-#) in between. Your particular example would be better written as
>
> %p
> three
> lines
> of text
> %p
> another
> three lines
> of text
> %hr
>
> though.
>
> Jesse wrote:
> > Correct:
>
> > %p three |
> > lines |
> > of text |
> > %p another paragraph
> > %hr
>
> > =>
>
> > <p>three lines of text</p>
> > <p>another paragaraph</p>
> > <hr />
>
> > Fixme:
>
> > %p three |
> > lines |
> > of text |
> > %p another |
> > three lines |
> > of text |
> > %hr
>
> > =>
>
> > <p>three lines of text %p another three lines of text</p>
> > <hr />
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---