Skip to content

Commit

Permalink
Removed target attribute from link, fixes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
Massimo Artizzu committed Oct 31, 2017
1 parent f50a45d commit ae7fa3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sharers/email.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export function render(text, rawText, refUrl) {
const url = this.getShareUrl(text, refUrl);

return `<a href="${url}" target="_blank" rel="noopener nofollow noreferrer">`
return `<a href="${url}" rel="noopener nofollow noreferrer">`
+ "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"-9 -9 96 96\">"
+ "<path d=\"M1 12c-.553 0-1 .447-1 1v52c0 .553.447 1 1 1h76c.553 0 1-.447 1-1V13"
+ "c0-.553-.447-1-1-1H1zm68.816 6L39 40.594 8.184 18h61.632zM72 60H6V23.84"
Expand Down

0 comments on commit ae7fa3f

Please sign in to comment.