Fix cloze not using the raw source (#1049)

This commit is contained in:
toasted-nutbread 2020-11-21 11:31:11 -05:00 committed by GitHub
parent 73cb2c763c
commit af33fff6fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}