Skip to content

Commit

Permalink
Fix notation and compilation result in String operations
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelig committed Aug 13, 2012
1 parent 40b3181 commit 1ab2dd0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions doc-src/SASS_REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,8 @@ For example:

p:before {
content: "Foo " + Bar;
font-family: sans- + "serif"; }
font-family: sans- + "serif";
}

is compiled to:

Expand All @@ -928,7 +929,8 @@ Within a string of text, #{} style interpolation can be used to
place dynamic values within the string:

p:before {
content: "I ate #{5 + 10} pies!"; }
content: "I ate #{5 + 10} pies!";
}

is compiled to:

Expand All @@ -939,13 +941,13 @@ Null values are treated as empty strings for string interpolation:

$value: null;
p:before {
content: "I ate #{$value} pies!"; }
content: "I ate #{$value} pies!";
}

is compiled to:

p:before {
content: "I ate pies!";
font-family: sans-; }
content: "I ate pies!"; }

#### Boolean Operations

Expand Down

0 comments on commit 1ab2dd0

Please sign in to comment.