Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

str-slice and str-insert should normalise quotes to double quotes #763

Closed
xzyfer opened this issue Dec 26, 2014 · 0 comments · Fixed by #764
Closed

str-slice and str-insert should normalise quotes to double quotes #763

xzyfer opened this issue Dec 26, 2014 · 0 comments · Fixed by #764

Comments

@xzyfer
Copy link
Contributor

xzyfer commented Dec 26, 2014

Given

foo {
  a: str-slice("abcd", 1, 1);
  b: str-slice('abcd', 1, 1);
  c: str-slice(abcd, 1, 1);

  d: str-insert("abcd", "X", 1);
  e: str-insert("abcd", 'X', 1);
  f: str-insert('abcd', "X", 1);
  g: str-insert('abcd', 'X', 1);
}

Ruby sass 3.4

foo {
  a: "a";
  b: "a";
  c: a;
  d: "Xabcd";
  e: "Xabcd";
  f: "Xabcd";
  g: "Xabcd"; }

Libsass 3.1.0-beta

foo {
  a: "a";
  b: 'a';
  c: a;
  d: "Xabcd";
  e: "Xabcd";
  f: 'Xabcd';
  g: 'Xabcd'; }

Spec added sass/sass-spec#195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant