Just checked with trunk.
I think I am on to something ... there is a difference between dos mode and
unix mode (\n\r vs. \n).
Seems like in dos mode the double line thing is common.
Now I am not sure if its a bug or not ...
Regards,
- evgeny
On 5/26/07, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>
> I think this issue was also fixed in trunk. In any event, when I run the
> provided code through Sass trunk, I get
>
> tag1 {
> attribute: value; }
>
> tag2 {
> attribute: value; }
>
> #id tag3 {
> attribute: value; }
>
> tag4 {
> attribute: value; }
>
> - Nathan
>
> On 5/25/07, Evgeny <[EMAIL PROTECTED]> wrote:
> >
> > Sure,
> >
> > example.sass:
> > --- cut here ---
> >
> > tag1
> > :attribute value
> > tag2
> > :attribute value
> >
> > #id
> > tag3
> > :attribute value
> >
> > tag4
> > :attribute value
> > ---- cut here ---
> >
> > After you run the command "sass example.sass example.css" you will get
> > this:
> > ---- cut here ----
> >
> > tag1 {
> > attribute: value; }
> >
> > tag2 {
> > attribute: value; }
> >
> >
> > #id tag3 {
> > attribute: value; }
> >
> >
> > tag4 {
> > attribute: value; }
> > ---- cut here ----
> >
> > Notice the double new line after tag2, and the weird extra indentation
> > of tag3 ? ... well, thats what I mean.
> >
> > Regards,
> >
> > - evgeny
> >
> > On 5/25/07, Nathan Weizenbaum < [EMAIL PROTECTED]> wrote:
> >
> > > I'm not sure I know what you mean. Do you have an example?
> > >
> > > - Nathan
> > >
> > > On 5/25/07, Evgeny < [EMAIL PROTECTED] > wrote:
> > > >
> > > > Why does sass puts new lines after each element AND is using the new
> > > > lines I wrote in the .sass file itself?
> > > >
> > > > So that the final .css file has a space of two new lines, both the
> > > > one sass put there, and the one I put in the sass file.
> > > >
> > > > Correct me if I am mistaken, but somehow that seems like an
> > > > overhead.
> > > >
> > > >
> > > >
> > > > Regards,
> > > >
> > > > - evgeny
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---