export function nl2br(text: string): string { return text.replace(/\n/g, "
"); }