iOS 8,9 font-weight on body element causes html entity ‑ to disappear (non breaking hyphen) -


i using ios (multiple versions) , when using html entity ‑ font-weight value on body tag have following results:

ios 9.0.1 (doesn't render entity)

ios 9.0 (doesn't render entity)

ios 8.4 (shows odd character below):

ios 8.4

code reproduce:

<!doctype html> <head>     <meta charset="utf-8" /> <style> body  {   font-weight: 300; } </style> </head> <body>    <span>&#8209;$7.00</span>                                         </body> </html> 

if remove font-weight works expected in ios versions. bug? bug not happen on safari mac

url try: http://chrismuench.com/ios_9_font_bug.html

try using &ndash; have not seen &#8209; used previously.

i have tested &ndash; on both ios devices , ios simulator , both work.

for full list of html safe characters please see this site


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -