From 1594b4dcd88a549a5a52e64c6d991f2dd296a56d Mon Sep 17 00:00:00 2001 From: tophf Date: Thu, 15 Sep 2022 12:54:26 +0300 Subject: [PATCH] help auto-hyphenation at word boundaries --- js/localization.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/localization.js b/js/localization.js index 0d81b1c5..1e486d45 100644 --- a/js/localization.js +++ b/js/localization.js @@ -32,7 +32,7 @@ Object.assign(t, { '|', /((?!\s)\W){10}/, ')', - /(?!\b|\s|$)/, + /(?!\s|$)/, ].map(rx => rx.source || rx).join(''), 'gu'), SELECTOR: '[i18n]',