From 112f08a13e1534685b19e0d164fd2fe64a23ebd9 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 14 Nov 2020 12:09:14 -0500 Subject: [PATCH] Fix term details not using the expanded tags (#1028) --- ext/bg/js/translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js index 2c4d7d3a24..d582f25fec 100644 --- a/ext/bg/js/translator.js +++ b/ext/bg/js/translator.js @@ -1032,7 +1032,7 @@ class Translator { this._sortTags(termTagsExpanded); const furiganaSegments = jp.distributeFurigana(expression, reading); - const termDetailsList = [this._createTermDetails(sourceTerm, expression, reading, furiganaSegments, termTags)]; + const termDetailsList = [this._createTermDetails(sourceTerm, expression, reading, furiganaSegments, termTagsExpanded)]; const sourceTermExactMatchCount = (sourceTerm === expression ? 1 : 0); return {