We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43152cc commit 3aeb38cCopy full SHA for 3aeb38c
components/SummaryTemplate.tsx
@@ -115,7 +115,7 @@ const SummaryTemplate = ({ updateMeetings }: SummaryTemplateProps) => {
115
116
async function generatePdf(markdown: any) {
117
const embedRegex = /\{% embed url="([^"]+)" %\}/g;
118
- const updatedMarkdown = markdown.replace(embedRegex, (match, url) => {
+ const updatedMarkdown = markdown.replace(embedRegex, (match: any, url: any) => {
119
// Check if the URL is a YouTube video
120
if (url.includes("youtube.com") || url.includes("youtu.be")) {
121
return `[Watch Video](${url})`; // Replace with a descriptive text for videos
0 commit comments