Ah, that's the problem... you should always wrap the render call in a find_and_preserve helper when what your rendering has whitespace-sensitive stuff. That should solve it.
- Nathan weepy wrote: > ok so ive narrowed the problem down to something to do with rendering > partials > > %p > = render :partial => "/layouts/logo" > > and > > %p > %pre > :preserve > __ ______ __ ______ > .----.| |--.|__ |.----.| |--..--------.| __ | > | __|| ||__ || __|| < | || __ | > |____||__|__||______||____||__|__||__|__|__||______| > > give different results > > logo.haml is : > > %pre > :preserve > __ ______ __ ______ > .----.| |--.|__ |.----.| |--..--------.| __ | > | __|| ||__ || __|| < | || __ | > |____||__|__||______||____||__|__||__|__|__||______| > > it seems the further absolutely indented the render :partial is, the > more incorrect the top line is. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
