diff --git a/src/formatter.ts b/src/formatter.ts index d6015b1..5c3d23a 100644 --- a/src/formatter.ts +++ b/src/formatter.ts @@ -19,12 +19,12 @@ export function cleanText(text: string): string { export function bulletToEmdash(text: string): string { return text.split("\n").map(line => - line.startsWith("* ") ? "— " + line.slice(2) : line + line.startsWith("* ") ? "— " + line.slice(2) : "— " + line ).join("\n"); } export function bulletToArrow(text: string): string { return text.split("\n").map(line => - line.startsWith("* ") ? "→ " + line.slice(2) : line + line.startsWith("* ") ? "→ " + line.slice(2) : "→ " + line ).join("\n"); }