On 6 déc, 20:50, Marnen Laibow-Koser <[email protected]> wrote:
> Julien wrote in post #966616:
>
> > On 6 dc, 15:28, Julien <[email protected]> wrote:
> >> > On 6 December 2010 11:03, Julien <[email protected]> wrote:
> >> > >> > text it's fine.
> >> > >> firefox and you can see which div or whatever the space is in and how
> >> > > In Firefox, the generated html seems exactly the same, but in Chrome,
>
> >> Yep, Windows. When i print special chars in Komodo, i see LF ending
> >> each line, but no CR. I'm really not at ease with those file format
> >> issues, can't be really helpful on that, sorry :(
>
> > Confirmation of my second guess:
>
> > It's Komodo Editor, adding ugly stuff.
>
> I use KomodoEdit all the time (on Mac OS, not Windows), and I've never
> seen it do this.  What are your line ending preferences set to (that
> should be somewhere in the status bar)?
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> [email protected]
>
> --
> Posted viahttp://www.ruby-forum.com/.

I tried Scite and converted some CR/LF endings to LF only but it
doesn't correct the issue.
My gut tells me it's not an matter of line endings since the strange
digit appears at the very beggining of the inclusion of the partial
(or the yield). I don't know much about file system but i suppose
Komodo was created on Linux and uses some file headers which are not
correctly understood by Webrick on Windows which then tries to print
them.

I don't have that many partials and will simply recreate them and copy/
paste the code using radrails. I should have guessed that the editor
was to blame before, because i finished a previous full project on
Radrails and never encountered that problem. I switched because
Radrails is a slow when you ctrl+s.

Well i guess the conclusion of all this is that if you encounter
unwanted spaces in your partials, check your editor :)

-- 
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.

Reply via email to