Fix local images and em dash rendering
Some checks are pending
Build / build (push) Waiting to run

This commit is contained in:
Neeldhara Misra 2026-06-25 05:21:34 +05:30
parent 4b3aa3022e
commit 632543db4d
55 changed files with 432 additions and 117 deletions

5
src/lib/typography.ts Normal file
View file

@ -0,0 +1,5 @@
const EM_DASH_PATTERN = /---/g;
export function typographicText(value: string | null | undefined) {
return (value ?? "").replace(EM_DASH_PATTERN, "—");
}