From dd2bcac0bbe3e7ee453e266daec996ec363b2597 Mon Sep 17 00:00:00 2001 From: kleph Date: Mon, 13 Nov 2017 20:02:42 +0100 Subject: [PATCH] Fix bug in apostrophe replacement --- saynul.html | 2 +- stoi.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/saynul.html b/saynul.html index 774ad90..8ba2d21 100644 --- a/saynul.html +++ b/saynul.html @@ -32,7 +32,7 @@ var s_txt = s_hostname.replace("." + s_base_domain, s_replace); var apostrophe = s_txt.match(/(l)\./); if (apostrophe){ - s_txt = s_txt.replace(/\./, "'"); + s_txt = s_txt.replace(/l\./, "l'"); } s_txt = s_txt.replace(/\./g, " "); diff --git a/stoi.html b/stoi.html index 0c689fb..428335d 100644 --- a/stoi.html +++ b/stoi.html @@ -33,7 +33,7 @@ var apostrophe = s_txt.match(/(l)\./); if (apostrophe){ - s_txt = s_txt.replace(/\./, "'"); + s_txt = s_txt.replace(/l\./, "l'"); } s_txt = s_txt.replace(/\./g, " "); s_txt = s_replace + s_txt + "."