Skip to content

Commit

Permalink
fix: modern travel truncates activities (#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
geisterfurz007 authored Dec 9, 2023
1 parent 2841514 commit ca4ec18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ca4ec18

Please sign in to comment.