2

I am using SASS/Compass to create a breadcrumb with the Compass mixin "@include delimited-list();"

I have a variable called $breadcrumb-separator: " > "; so that I can change the character out in different situations.

My css is: ul.nav {@include delimited-list($breadcrumb-separator);}

How can I change the use of the character ">", to use the en dash(– or –) entity?

0

1 Answer 1

1

Since this include generates a :after element, you need to use unicode hex escapes for your – and it should work as expected:

$breadcrumb-separator: " \2013 "; 
Sign up to request clarification or add additional context in comments.

1 Comment

Thanks Tino! I was using \u2013 and couldn't figure out why it wasn't working.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.