diff --git a/index.html b/index.html index 0294b3b..774ad90 100644 --- a/index.html +++ b/index.html @@ -30,6 +30,11 @@ var s_hostname = punycode.toUnicode(location.host) 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(/\./g, " "); s_txt = s_txt.charAt(0).toUpperCase() + s_txt.slice(1);