exact same poltergeist for me on rails 3.0.1 and ruby 1.9.2. It adds some visible space in browser but completely invisible in the generated HTML.
it seems to be when the partial starts by a tag (like "<form ...>"). It's not a space but a linebreak. If partial starts by basic simple text it's fine. I checked my ruby source files encoding and it's plain good utf8. The generated html may look exactly the same using 'source>view' in both cases but i'm wondering if there might be some fancy digits making this linebreak. On 16 nov, 00:11, Marnen Laibow-Koser <[email protected]> wrote: > bravehoptoad wrote in post #961694: > > > > >> Are you saying that the html, viewed via View > Page Source or similar > >> in your browser is identical in the two cases, but it shows > >> differently in the browser? I don't think this is possible, all the > >> browser can see is the html (and scripts and css which we assume are > >> identical) so it cannot tell whether you have used a partial or not. > >> I suggest that you copy the complete page html in the two cases and > >> paste it into two files. Then compare the files with a file > >> comparison utility. I am sure you will see a difference. > > > Yes, this is what I'm saying. The source html is identical. > > Comparing the two source files finds no differences, > > Wait. You said "source files". That is not what we are asking. > > We are asking about the *generated HTML*, as seen in the browser's View > Source, not the Ruby source files. > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > [email protected] > > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

