/** Minimal, dependency-free HTML → readable text extraction. */ export function htmlToText(html: string): string { let s = html; s = s.replace(/