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):
code reproduce:
<!doctype html> <head> <meta charset="utf-8" /> <style> body { font-weight: 300; } </style> </head> <body> <span>‑$7.00</span> </body> </html>
if remove font-weight works expected in ios versions. bug? bug not happen on safari mac
try using –
have not seen ‑
used previously.
i have tested –
on both ios devices , ios simulator , both work.
for full list of html safe characters please see this site
Comments
Post a Comment