diff options
Diffstat (limited to 'src/utils.ts')
-rw-r--r-- | src/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.ts b/src/utils.ts index 149d99cf..6f30a854 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -206,7 +206,7 @@ class Utils { getLocalizedMessage(text: string): string | false { const valNewH = text.replace(/__MSG_(\w+)__/g, function(match, v1) { - return v1 ? chrome.i18n.getMessage(v1) : ""; + return v1 ? chrome.i18n.getMessage(v1).replace("\n", "<br/>") : ""; }); if(valNewH != text) { |