mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Strip isolation characters from app link
Reported in https://forums.ankiweb.net/t/bug-link-in-about-window/5894
This commit is contained in:
parent
3840686241
commit
e92eeda040
1 changed files with 5 additions and 1 deletions
|
@ -5,6 +5,7 @@ import platform
|
|||
import time
|
||||
|
||||
import aqt.forms
|
||||
from anki.lang import without_unicode_isolation
|
||||
from anki.utils import versionWithBuild
|
||||
from aqt.addons import AddonManager, AddonMeta
|
||||
from aqt.qt import *
|
||||
|
@ -100,7 +101,10 @@ def show(mw):
|
|||
QT_VERSION_STR,
|
||||
PYQT_VERSION_STR,
|
||||
)
|
||||
abouttext += tr(TR.ABOUT_VISIT_WEBSITE, val=aqt.appWebsite) + "</span>"
|
||||
abouttext += (
|
||||
without_unicode_isolation(tr(TR.ABOUT_VISIT_WEBSITE, val=aqt.appWebsite))
|
||||
+ "</span>"
|
||||
)
|
||||
|
||||
# automatically sorted; add new lines at the end
|
||||
allusers = sorted(
|
||||
|
|
Loading…
Reference in a new issue