From 7b9b5f257f603ee3c00f7efbd4513bbb84ac9af3 Mon Sep 17 00:00:00 2001 From: Aditya Date: Fri, 8 Mar 2019 01:40:58 +0530 Subject: [PATCH] [FIX] Embed link opens in same tab --- .../rocketchat-spotify/lib/client/oembedSpotifyWidget.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rocketchat-spotify/lib/client/oembedSpotifyWidget.html b/packages/rocketchat-spotify/lib/client/oembedSpotifyWidget.html index c66cfca2efdc..68c2879b274d 100644 --- a/packages/rocketchat-spotify/lib/client/oembedSpotifyWidget.html +++ b/packages/rocketchat-spotify/lib/client/oembedSpotifyWidget.html @@ -3,9 +3,9 @@
Spotify
{{#if match meta.ogAudio "spotify:artist:\\S+"}} - {{{meta.ogTitle}}} + {{{meta.ogTitle}}} {{else}} - {{{replace meta.ogDescription ", an? (?:song|album) by (.+?) on Spotify" " - $1" regex=true}}} + {{{replace meta.ogDescription ", an? (?:song|album) by (.+?) on Spotify" " - $1" regex=true}}} {{/if}} {{#if collapsed}}