aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-21 11:31:11 -0500
committerGitHub <noreply@github.com>2020-11-21 11:31:11 -0500
commitaf33fff6fb10f77eb08b0bce572a18c2bff6c846 (patch)
treed3870004620d77e0e6340f441e1a3b834e28aef7 /ext/mixed/js
parent73cb2c763c3730fa8c07e4262626b1b0f584b663 (diff)
Fix cloze not using the raw source (#1049)
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 299cb026..9297f46b 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -916,7 +916,7 @@ class Display extends EventDispatcher {
this._definitions = definitions;
for (const definition of definitions) {
- definition.cloze = this._clozeBuild(sentence, isTerms ? definition.source : definition.character);
+ definition.cloze = this._clozeBuild(sentence, isTerms ? definition.rawSource : definition.character);
definition.url = url;
}