From 01d73dd2ad0c0e302f2770b704f7f8cef824bb4f Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Mon, 9 Jan 2017 19:51:21 -0800 Subject: WIP --- ext/bg/js/database.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/bg/js/database.js b/ext/bg/js/database.js index 4d1f0fb5..b74a59a0 100644 --- a/ext/bg/js/database.js +++ b/ext/bg/js/database.js @@ -78,7 +78,7 @@ class Database { reading: row.reading, tags: splitField(row.tags), rules: splitField(row.rules), - glossary: row.glossary.map(g => g.trim()), + glossary: row.glossary, score: row.score, dictionary: row.dictionary, id: row.id @@ -108,7 +108,7 @@ class Database { onyomi: splitField(row.onyomi), kunyomi: splitField(row.kunyomi), tags: splitField(row.tags), - glossary: row.meanings.map(m => m.trim()), + glossary: row.meanings, dictionary: row.dictionary }); } -- cgit v1.2.3