This occurs on Anki Desktop 2.1.54 (b6a7760c) on Windows, while in the “Add” view making a new card. It may happen elsewhere as well.
When I am trying to mark a specific word bold, it will instead bold the rest of the selection. When reviewing the HTML for the card, it reflects accordingly:
However, after un-marking all of the contents as bold and then selecting that area again, it works correctly until a new card is made. This might have to do with information copied from elsewhere; For example, this text copied from a google document has bold tags outside of a span, and when I try to mark my selection as bold, it performs this inversion while stripping the span.
debug info from Anki
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-03-20 09:36:59
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Advanced Browser ['874215009', 2022-09-26T20:28, 'None', '']
AnkiConnect ['2055492159', 2022-09-18T20:11, 'None', '']
AutoReorder ['757527607', 2022-05-16T04:09, 'None', '']
AwesomeTTS - Add speech to your flashcards ['1436550454', 2023-03-19T02:09, 'None', '']
Button Colours Good Again ['2494384865', 2022-09-27T06:18, 'None', '']
Review Heatmap ['1771074083', 2022-06-29T21:43, 'None', '']
===IDs of active AnkiWeb add-ons===
1436550454 1771074083 2055492159 2494384865 757527607 874215009
===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])