From 7b3c8ea046fdc996fad344c1c7368adbe834d54e Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Wed, 18 May 2022 12:08:22 -0400 Subject: [PATCH] =?UTF-8?q?Revert=20"back=20to=20M$=20=E2=80=94=20playtime?= =?UTF-8?q?=20is=20over"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ed41d994840fefe3b6c9d3434dd80695d0e635a3. --- 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 20866429..01c33016 100644 --- a/common/envs/prod.ts +++ b/common/envs/prod.ts @@ -43,7 +43,7 @@ export const PROD_CONFIG: EnvConfig = { ], visibility: 'PUBLIC', - moneyMoniker: 'M$', + moneyMoniker: 'ϻ', navbarLogoPath: '', faviconPath: '/favicon.ico', newQuestionPlaceholders: [ diff --git a/web/components/linkify.tsx b/web/components/linkify.tsx index 3a5f2a18..dbe7042d 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 =