diff --git a/apps/server/src/modules/learnroom/mapper/common-cartridge-export.mapper.ts b/apps/server/src/modules/learnroom/mapper/common-cartridge-export.mapper.ts index 2906222610f..d2548360b09 100644 --- a/apps/server/src/modules/learnroom/mapper/common-cartridge-export.mapper.ts +++ b/apps/server/src/modules/learnroom/mapper/common-cartridge-export.mapper.ts @@ -142,16 +142,11 @@ export class CommonCartridgeExportMapper { } private getTextTitle(text: string): string { - const cleanTitle = sanitizeHtml(text, { + const title = sanitizeHtml(text, { allowedTags: [], allowedAttributes: {}, - }); - const title = cleanTitle.slice(0, 50); - // .replace(/<[^>]*>?/gm, '') - // .replace(/