mathiasbynens / esrever

A Unicode-aware string reverser written in JavaScript.
https://git.io/esrever
MIT License
890 stars 30 forks source link

Confusing example when viewed in Firefox #18

Open atnbueno opened 2 years ago

atnbueno commented 2 years ago

The example at https://github.com/mathiasbynens/esrever#usage-example, when viewed in Firefox, show the diacritics on top of the wrong letter, which appears to contradict the usefulness of the reverser.

A possible workaround is to use the string "Lorem ipsum 𝌆 dolŏ̮r sit amet" (which is correctly rendered) instead of "Lorem ipsum 𝌆 dolor sit ameͨ͆t."