3

Referencing the following question, I am trying to render a unicode character as text rather than emoji, but when I add the entity to the end, it doesn't make a difference for certain characters such as "Black Right-Pointing Double Triangle With Vertical Bar".

Here is the question: How to prevent Unicode characters from rendering as emoji in HTML from JavaScript?

Here is a jsfiddle demo:

<span>⏭︎&#xFE0E;</span>
<span>&#9197;&#xFE0E;</span>

https://jsfiddle.net/hw0dftzv/

How do I accomplish this?

Temani Afif
  • 245,468
  • 26
  • 309
  • 415

0 Answers0