From ca4ec18b56a84c24374bd2163c5f5ceb556295d2 Mon Sep 17 00:00:00 2001 From: geisterfurz007 Date: Sat, 9 Dec 2023 15:03:00 +0100 Subject: [PATCH] fix: modern travel truncates activities (#1166) --- src/programs/tickets/travel/travel-data-message-converter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/programs/tickets/travel/travel-data-message-converter.ts b/src/programs/tickets/travel/travel-data-message-converter.ts index 05aa51cf0..8d88c81bb 100644 --- a/src/programs/tickets/travel/travel-data-message-converter.ts +++ b/src/programs/tickets/travel/travel-data-message-converter.ts @@ -46,7 +46,7 @@ export class TravelDataMessageConverter { const hostMatch = /\*\*Looking for a host\*\*: (Yes|No)/gm.exec(content); const needsHost = hostMatch?.at(1) === "Yes"; - const activitiesMatch = /\*\*Activities\*\*:((?:.|\n).*)/gm.exec(content); + const activitiesMatch = /\*\*Activities\*\*:((?:.|\n)*)/gm.exec(content); const activities = activitiesMatch?.at(1) ?? ""; return {