Skip to content

Commit 144312d

Browse files
committed
fix(popup): decode mouseover link so it's easier for humans to read
1 parent 6926d00 commit 144312d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

popup/popup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ const renderGroupVideo = (group, video) => {
202202

203203
const link = (selector, opts, children) => {
204204
if (!opts.href) { return m(selector, { href: '#', ...opts}, children); }
205-
let url = opts.href.replace(/^https?:\/\/(www\.)?/, '');
205+
let url = decodeURIComponent(opts.href.replace(/^https?:\/\/(www\.)?/, ''));
206206
if (opts.target === '_blank') { url += ' ⇗'; }
207207
let el;
208208
return m(selector, {

0 commit comments

Comments
 (0)