diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-11-21 11:31:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-21 11:31:11 -0500 |
commit | af33fff6fb10f77eb08b0bce572a18c2bff6c846 (patch) | |
tree | d3870004620d77e0e6340f441e1a3b834e28aef7 | |
parent | 73cb2c763c3730fa8c07e4262626b1b0f584b663 (diff) |
Fix cloze not using the raw source (#1049)
-rw-r--r-- | ext/mixed/js/display.js | 2 |
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; } |