From 6280a91b7b069b8c96a34469cb6dc6871a0c4d3a Mon Sep 17 00:00:00 2001 From: sienori Date: Thu, 7 Jun 2018 13:18:09 +0900 Subject: [PATCH] Fix problem that no line breaks --- simple-translate/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple-translate/translate.js b/simple-translate/translate.js index 2db448d..915e192 100644 --- a/simple-translate/translate.js +++ b/simple-translate/translate.js @@ -64,7 +64,7 @@ class Translate { //翻訳文を取得 for (const response of result.response[0]) { - resultData.resultText += response[0]; + resultData.resultText += `${response[0]}\n`; } //訳候補を取得