From 6f1a569797ecf970d1c67fa2816cbd6cf5567a4f Mon Sep 17 00:00:00 2001 From: mantikoros Date: Thu, 19 May 2022 22:28:38 -0400 Subject: [PATCH] =?UTF-8?q?back=20to=20M$=20=E2=80=94=20the=20worst=20opti?= =?UTF-8?q?on=20except=20for=20all=20the=20others?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/envs/prod.ts | 2 +- web/components/linkify.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/envs/prod.ts b/common/envs/prod.ts index 64a04b94..8d3a014f 100644 --- a/common/envs/prod.ts +++ b/common/envs/prod.ts @@ -44,7 +44,7 @@ export const PROD_CONFIG: EnvConfig = { ], visibility: 'PUBLIC', - moneyMoniker: 'ϻ', + moneyMoniker: 'M$', navbarLogoPath: '', faviconPath: '/favicon.ico', newQuestionPlaceholders: [ diff --git a/web/components/linkify.tsx b/web/components/linkify.tsx index dbe7042d..3a5f2a18 100644 --- a/web/components/linkify.tsx +++ b/web/components/linkify.tsx @@ -6,8 +6,8 @@ import { SiteLink } from './site-link' export function Linkify(props: { text: string; gray?: boolean }) { let { text, gray } = props // Replace "m1234" with "ϻ1234" - const mRegex = /(\W|^)m(\d+)/g - text = text.replace(mRegex, (_, pre, num) => `${pre}ϻ${num}`) + // const mRegex = /(\W|^)m(\d+)/g + // text = text.replace(mRegex, (_, pre, num) => `${pre}ϻ${num}`) // Find instances of @username, #hashtag, and https://... const regex =