From 2c0d2013457e31b598174208f32a59c4894b9a6e Mon Sep 17 00:00:00 2001 From: bobakoftadeh Date: Fri, 22 Feb 2019 22:08:44 +0000 Subject: [PATCH] Add target attribute --- .../imports/api/meetings/server/modifiers/addMeeting.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/api/meetings/server/modifiers/addMeeting.js b/bigbluebutton-html5/imports/api/meetings/server/modifiers/addMeeting.js index eb0235954e..a4cc00fa9e 100644 --- a/bigbluebutton-html5/imports/api/meetings/server/modifiers/addMeeting.js +++ b/bigbluebutton-html5/imports/api/meetings/server/modifiers/addMeeting.js @@ -83,7 +83,12 @@ export default function addMeeting(meeting) { setBy: 'temp', }; - newMeeting.welcomeProp.welcomeMsg = newMeeting.welcomeProp.welcomeMsg.replace('event:', ''); + newMeeting.welcomeProp.welcomeMsg = newMeeting.welcomeProp.welcomeMsg.replace( + 'href="event:', + 'href="', + ); + + newMeeting.welcomeProp.welcomeMsg = newMeeting.welcomeProp.welcomeMsg.replace(/href/g, 'target="_blank" href'); const modifier = { $set: Object.assign(