mirror of
https://github.com/ankitects/anki.git
synced 2026-10-21 06:39:46 +08:00
This just removes a dead branch in editor paste handling that I noticed while working on #5236. Quoting the original [TenderApp report](https://anki.tenderapp.com/discussions/ankidesktop/39543-anki-is-replacing-the-character-by-when-i-exit-the-html-edit-mode-ctrlshiftx) from 2020 linked in the code: > > I had I field like this: gtts_ZeitabschnittvonlängererDauer_de_slow.mp3 > > And after I open and close the HTML view mode (Ctrl+Shift+X), the contents of the field are replaced with: gtts_ZeitabschnittvonlängererDauer_de_slow.mp3 > > i.e., the ä is replaced by ä I couldn't reproduce this neither in the legacy nor new editor. The editor received significant updates since then, so I believe it's dead code now.