Add Hyperlink [Official thread]

@ijgnd: Sorry for posting multiple times, but I also found another similar issue.

Problem

With the text selected, press Ctrl+Shift+H to insert a hyperlink, then hyperlink is added to the different place with a different text, and with a correct link.

Steps to reproduce

  1. Start Anki2
  2. Press ‘a’ to add a flashcard
  3. Write following contents into the card for example:
text
  1. Make sure that text is selected.
  2. Press Ctrl+Shift+H to call ‘Add Hyperlink’ add-on.
  3. Specify ‘Link to: link’ and leave 'Text to display: ’ to ‘text’.
  4. Select ‘OK’ to insert a hyperlink.

Expected result

The flashcard should look like the following, where text has hyperlink information to link

text

Actual result

The flashcard was actually like the following. The hyperlink link is added on top of the flashcard, which links to link.

linktext