diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-01-20 23:08:43 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-01-20 23:08:43 +0100 |
commit | 590ccd3107116ca70781d29b5f8390da88566635 (patch) | |
tree | 629e34376d218e8bda41d27d94c2e4917b1f2ebe /anki-card-template/card.js | |
parent | d55da1c130a1bc6087f28644608f5837847b7b75 (diff) |
fix hang1.3.1
Diffstat (limited to 'anki-card-template/card.js')
-rw-r--r-- | anki-card-template/card.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/anki-card-template/card.js b/anki-card-template/card.js index 18c8cb9..d3efe29 100644 --- a/anki-card-template/card.js +++ b/anki-card-template/card.js @@ -67,7 +67,7 @@ HTMLElement.prototype.parse = function() { } } // ignore note if parsed - if (i == note_head) { i += note_tail - 1; continue; } + else if (i == note_head) { i = note_tail - 1; continue; } // reading open bracket if (input[i] == '\u3010') { out += `</span><span class="reading"><span class="bracket">${input[i]}</span><span class="syllable">`; continue; } // reading closing bracket |