This is definitely not a critical issue, but it has been bugging me for a long time. All of my decks are literally infested with non-breaking spaces, which are not visible in the note editor, but can cause issues when displaying the card. Search for
in the card browser to see if you are also affected.
I don’t quite understand exactly when Anki decides to convert normal spaces into non-breaking ones, but it seems to be related to pasting from the clipboard—I do this a lot! Here are two different scenarios in which I could consistently reproduce this behavior in the note editor. You can open the HTML editor using Ctrl+Shift+X to see if spaces have been converted.
Pasting text from outside of Anki
Copy a text string from a different application to your clipboard. Type a space, then paste a text string using Ctrl+V (with formatting) or Ctrl+Shift+V (without formatting). The preceding space will have been converted.
Actually it seems Anki will immediately convert every typed space at the end of a text field to a non-breaking space and it will convert it back to a normal space if you continue typing after the space or you paste text which was copied from another text field inside of Anki.
Duplicating italic text containing a space
Type two words separated by a space and set one of them to italic. Copy or cut the text and paste it again into the same text field. The interword space will have been converted.
FWIW I am using Anki 2.1.42 on Linux, but this issue has been present at least since version 2.1.35.