Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #178 from kevva/unicode

Escape unicode characters
  • Loading branch information...
commit 7e5f0f604f89e99e102692c00c7c35cb89a12b77 2 parents 55cd54e + 4c15560
@csswizardry authored
View
6 _defaults.scss
@@ -46,7 +46,7 @@ $base-font-size: 16px!default;
$base-line-height: 24px!default;
/**
- * Base font-family.
+ * Base font-family.
*/
$base-font-family: sans-serif!default;
@@ -151,8 +151,8 @@ $close-quote: null;
* If you need non-English quotes, please alter the following values accordingly:
*/
@if $english-quotes != true{
- $open-quote: «;
- $close-quote: »;
+ $open-quote: \00AB;
+ $close-quote: \00BB;
}
View
20 base/_quotes.scss
@@ -5,8 +5,8 @@
* If English quotes are set in `_vars.scss`, define them here.
*/
@if $english-quotes == true{
- $open-quote: ;
- $close-quote: ;
+ $open-quote: \201C;
+ $close-quote: \201D;
}
@@ -18,23 +18,23 @@
* Inline quotes.
*/
q{
- quotes:"" "" "#{$open-quote}" "#{$close-quote}";
+ quotes:"\2018" "\2019" "#{$open-quote}" "#{$close-quote}";
&:before{
- content:"";
+ content:"\2018";
content:open-quote;
}
&:after{
- content:"";
+ content:"\2019";
content:close-quote;
}
q:before{
- content:"";
+ content:"\201C";
content:open-quote;
}
q:after{
- content:"";
+ content:"\201D";
content:close-quote;
}
}
@@ -56,11 +56,11 @@ blockquote{
}
q:before{
- content:"";
+ content:"\2018";
content:open-quote;
}
q:after{
- content:"";
+ content:"\2019";
content:close-quote;
}
}
@@ -91,6 +91,6 @@ blockquote{
text-indent:0;
&:before{
- content:"";
+ content:"\2014";
}
}
View
2  generic/_helper.scss
@@ -142,7 +142,7 @@
*
*/
.go:after{
- content:"\00A0»"!important;
+ content:"\00A0" "\00BB"!important;
}
View
6 objects/_breadcrumb.scss
@@ -17,7 +17,7 @@
*
*/
.breadcrumb > li + li:before{
- content:"» ";
+ content:"\00BB" "\00A0";
}
@@ -33,7 +33,7 @@
*
*/
.breadcrumb--path > li + li:before{
- content:"/ ";
+ content:"\002F" "\00A0";
}
@@ -49,7 +49,7 @@
*
*/
.breadcrumb > li + li[data-breadcrumb]:before{
- content:attr(data-breadcrumb)" ";
+ content:attr(data-breadcrumb) "\00A0";
}
View
2  objects/_nav.scss
@@ -143,7 +143,7 @@
> li{
&:after{
- content:", ";
+ content:"\002C" "\00A0";
}
&:last-child:after{
View
4 objects/_pagination.scss
@@ -41,10 +41,10 @@
margin:-$base-spacing-unit / 2;
}
.pagination__first a:before{
- content:"« ";
+ content:"\00AB" "\00A0";
}
.pagination__last a:after{
- content:" »";
+ content:"\00A0" "\00BB";
}
}//endif
View
2  objects/_rules.scss
@@ -42,7 +42,7 @@
position:relative;
&:after{
- content:"§";
+ content:"\00A7";
position:absolute;
top: 0;
right: 0;
Please sign in to comment.
Something went wrong with that request. Please try again.