back to M$ — the worst option except for all the others

This commit is contained in:
mantikoros 2022-05-19 22:28:38 -04:00
parent 1616ffc817
commit 6f1a569797
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ export const PROD_CONFIG: EnvConfig = {
],
visibility: 'PUBLIC',
moneyMoniker: 'ϻ',
moneyMoniker: 'M$',
navbarLogoPath: '',
faviconPath: '/favicon.ico',
newQuestionPlaceholders: [

View File

@ -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 =