File: 05_variable_quoted_double.hrx

package info (click to toggle)
sass-spec 3.6.3-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 22,980 kB
  • sloc: ruby: 1,620; perl: 428; sh: 96; makefile: 16
file content (28 lines) | stat: -rw-r--r-- 606 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<===> input.scss
$input: literal;
.result {
  dquoted: "#{#{$input}}";
  dquoted: "#{"[#{$input}]"}";
  dquoted: "#{"#{$input}"}";
  dquoted: "#{'#{$input}'}";
  dquoted: "#{"['#{$input}']"}";
  squoted: '#{#{$input}}';
  squoted: '#{"[#{$input}]"}';
  squoted: '#{"#{$input}"}';
  squoted: '#{'#{$input}'}';
  squoted: '#{"['#{$input}']"}';
}

<===> output.css
.result {
  dquoted: "literal";
  dquoted: "[literal]";
  dquoted: "literal";
  dquoted: "literal";
  dquoted: "['literal']";
  squoted: "literal";
  squoted: "[literal]";
  squoted: "literal";
  squoted: "literal";
  squoted: "['literal']";
}