This is an interesting way to solve that problem. Why not go with a
helper function?
- online do
whatever
- Nathan
Bob Aman wrote:
>> However you want to upload the patch, Bob, Mislav's right: it's a pain
>> to apply from one of these emails. Thanks for the patches, though; I
>> definitely want to include at least the first three. I'm having a little
>> trouble figuring out the usage of the oneline filter, though; what do
>> you have in mind for it?
>>
>> - Nathan
>>
>
> Yeah, my bad. I didn't notice they all got line-wrapped. I'll go
> throw them up on Pastie instead.
>
> Regarding the :oneline filter, the intended use is this scenario:
>
> Most likely:
>
> :oneline
> %pre
> %code
> = preserve("some multi-line code here")
>
> But in general:
>
> :oneline
> %div
> %span
> = "Something that might normally cause line-wrapping in a place
> where you don't actually want line-wrapping to occur for whatever
> reason."
>
>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---