Reputation: 1098
I have a style with pseudo-element:
a::before {
content: "⇱"
}
In my html file there is a link:
<a href="..."> 1 <a>
Most of the time it's displayed correctly:
But sometimes (not often, maybe 1 time out of 100) Chrome displays it like this:
It looks like encoding problem, but what could be the reason of it?
Upvotes: 1
Views: 168
Reputation: 43574
You can try using the CSS content code of ⇱ to avoid encoding issues:
a::before {
content: '\21F1';
}
<a href="#">Test</a>
Upvotes: 1