From af33fff6fb10f77eb08b0bce572a18c2bff6c846 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 21 Nov 2020 11:31:11 -0500 Subject: Fix cloze not using the raw source (#1049) --- ext/mixed/js/display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3