I don't see the problem here. All the Sass output seems perfectly valid to
me.

On Mon, May 31, 2010 at 7:36 AM, Matt Martini <[email protected]>wrote:

> Guys,
>
> Working with a designer's code, I found a repeatable issue converting css
> to sass (but not scss).  Take a look at the test file
> below.  In comment_test.css there is a valid multi-line comment in css.
>  Converting to sass produces an invalid comment.
> However, converting to scss leaves it alone and it is valid.  You get the
> same problem if you go from scss to sass as well.
>
> See a similar issue in the thread from April 13: [haml] sass-convert bug.
>
> Matt
>
>
>
> $ cat comment_test.css
> /*--------------------------------------------------
>  GENERAL
> -------------------------------------------------- */
> body {
>        margin:0;
>        padding:0;
>     }
>
> $ sass-convert --from css --to sass comment_test.css > comment_test.sass
>
>  $ cat comment_test.sass
> /*--------------------------------------------------
>  * GENERAL
>  *--------------------------------------------------
>
> body
>  margin: 0
>  padding: 0
>
> $ sass-convert --from css --to scss comment_test.css > comment_test.scss
>
> $ cat comment_test.scss
> /*--------------------------------------------------
>  GENERAL
> -------------------------------------------------- */
>
> body {
>  margin: 0;
>  padding: 0; }
>
> $ sass-convert --from scss --to sass comment_test.scss > comment_test2.sass
>
>  $ cat comment_test2.sass
> /*--------------------------------------------------
>  * GENERAL
>  *--------------------------------------------------
>
> body
>  margin: 0
>  padding: 0
>
>
> $ sass-convert --version
> Haml/Sass 3.0.6 (Classy Cassidy)
>
>
> --
> 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] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

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

Reply via email to