html - IE11 - modifier letter left/right arrowhead -


in misguided effort avoid script injection have decided convert "less/greater than"-signs "left/right arrow"-modifier letters.

using ie11 in development fine , dandy. however, when deployed prod these modifier letters displayed boxes. prod accessed using other computers far can tell it's same version of ie11 , relevant settings same between computers. users see boxes instead of modifier letters - on other pages, example:

<<<< - less >>>> - greater ˂˂˂˂ - modifier letter left arrowhead ˃˃˃˃ - modifier letter right arrowhead 

is displayed as:

example

any ideas?

edit: further investigation, using a font not present on dev machines, on prod machines. font not seem contain modifier letters.

however, when type these letters word , change our font displays correctly although 2 types of characters aren't exact same close enough, , non-supported characters seem fallback system font. why not happen in web page?

so, seems above characters not supported either of fonts in our font-family stack, i.e:

* { font-family: 'open sans', sans-serif; } 

from can gather, means browser falls system level font unrecognized characters. apparently, seems fallback can differ between machines. solution add third fallback font knew contained character, so:

* { font-family: 'open sans', sans-serif, monospace; } 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -