mirror of
https://github.com/ankitects/anki.git
synced 2025-11-21 03:57:14 -05:00
Revert "use isolation characters instead of direction markers in cloze handling"
This reverts commit e838769d02.
Caused a regression:
https://anki.tenderapp.com/discussions/ankidesktop/41384-cloze-deletions-in-2125-and-2126
This commit is contained in:
parent
7078415405
commit
4e44694136
1 changed files with 2 additions and 2 deletions
|
|
@ -292,8 +292,8 @@ function wrapIntoText(front, back) {
|
|||
|
||||
function wrapInternal(front, back, plainText) {
|
||||
if (currentField.dir === "rtl") {
|
||||
front = "⁨" + front + "⁩";
|
||||
back = "⁨" + back + "⁩";
|
||||
front = "‫" + front + "‬";
|
||||
back = "‫" + back + "‬";
|
||||
}
|
||||
const s = window.getSelection();
|
||||
let r = s.getRangeAt(0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue