From fe090dad3291ca74a8fdc01f688a9b5f06faf8b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?George=20Ara=C3=BAjo?= Date: Mon, 15 Jan 2024 18:03:48 -0300 Subject: [PATCH] Overwritten template.v2.js file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: George Araújo --- assets/js/distillpub/template.v2.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/assets/js/distillpub/template.v2.js b/assets/js/distillpub/template.v2.js index 33d23109b182..7478a1c24e8d 100644 --- a/assets/js/distillpub/template.v2.js +++ b/assets/js/distillpub/template.v2.js @@ -5917,12 +5917,14 @@ p small { if ((bs = bm.index) > bi) { // a string precedes the next number in b bs = b.slice(bi, bs); - if (s[i]) s[i] += bs; // coalesce with previous string + if (s[i]) + s[i] += bs; // coalesce with previous string else s[++i] = bs; } if ((am = am[0]) === (bm = bm[0])) { // numbers in a & b match - if (s[i]) s[i] += bm; // coalesce with previous string + if (s[i]) + s[i] += bm; // coalesce with previous string else s[++i] = bm; } else { // interpolate non-matching numbers @@ -5935,7 +5937,8 @@ p small { // Add remains of b. if (bi < b.length) { bs = b.slice(bi); - if (s[i]) s[i] += bs; // coalesce with previous string + if (s[i]) + s[i] += bs; // coalesce with previous string else s[++i] = bs; }