Feature: Implement Cover Letters as a custom section type (#2659)

This commit is contained in:
Amruth Pillai
2026-01-31 03:17:20 +01:00
committed by GitHub
parent a8d8d0e340
commit 71dac2021d
65 changed files with 1516 additions and 5 deletions
+2 -1
View File
@@ -64,6 +64,7 @@ export function generateRandomName() {
* @param html - The HTML string to strip.
* @returns The text content without HTML tags.
*/
export function stripHtml(html: string) {
export function stripHtml(html: string | undefined) {
if (!html) return "";
return html.replace(/<[^>]*>/g, "").trim();
}