parent
ca9e93fe47
commit
7b3c8ea046
|
@ -43,7 +43,7 @@ export const PROD_CONFIG: EnvConfig = {
|
||||||
],
|
],
|
||||||
visibility: 'PUBLIC',
|
visibility: 'PUBLIC',
|
||||||
|
|
||||||
moneyMoniker: 'M$',
|
moneyMoniker: 'ϻ',
|
||||||
navbarLogoPath: '',
|
navbarLogoPath: '',
|
||||||
faviconPath: '/favicon.ico',
|
faviconPath: '/favicon.ico',
|
||||||
newQuestionPlaceholders: [
|
newQuestionPlaceholders: [
|
||||||
|
|
|
@ -6,8 +6,8 @@ import { SiteLink } from './site-link'
|
||||||
export function Linkify(props: { text: string; gray?: boolean }) {
|
export function Linkify(props: { text: string; gray?: boolean }) {
|
||||||
let { text, gray } = props
|
let { text, gray } = props
|
||||||
// Replace "m1234" with "ϻ1234"
|
// Replace "m1234" with "ϻ1234"
|
||||||
// const mRegex = /(\W|^)m(\d+)/g
|
const mRegex = /(\W|^)m(\d+)/g
|
||||||
// text = text.replace(mRegex, (_, pre, num) => `${pre}ϻ${num}`)
|
text = text.replace(mRegex, (_, pre, num) => `${pre}ϻ${num}`)
|
||||||
|
|
||||||
// Find instances of @username, #hashtag, and https://...
|
// Find instances of @username, #hashtag, and https://...
|
||||||
const regex =
|
const regex =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user