#Entity
A Sass function that will output properly encoded entities.
##Usage
The entity
function accepts the actual character, the HTML name without the ampersand and semi-colon or the decimal number.
body {
&:after {
content: entity('€');
}
}
or
body {
&:after {
content: entity('euro');
}
}
will output
body:after {
content: "\20AC";
}
- Sass ~> 3.3.0