mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-24 08:30:44 +00:00
Merge pull request #1542 from sharelatex/as-fix-noopener
Fix some missing noopener attributes GitOrigin-RevId: a833fc26b2c783bb713f771fb2ae4a494e5fec63
This commit is contained in:
parent
838fe00058
commit
c6b8ab3245
1 changed files with 4 additions and 2 deletions
|
@ -82,7 +82,8 @@ mixin linkPrintNewTab(linkText, linkClass, icon, track)
|
|||
event-tracking-trigger=trigger
|
||||
event-tracking-mb=mb
|
||||
event-segmentation=mbSegmentation
|
||||
target="_BLANK"
|
||||
target="_BLANK",
|
||||
rel="noopener noreferrer"
|
||||
)
|
||||
if icon
|
||||
i(class="fa fa-print")
|
||||
|
@ -113,7 +114,8 @@ mixin linkTweet(linkText, linkClass, tweetText, track)
|
|||
event-tracking-mb=mb
|
||||
event-segmentation=mbSegmentation
|
||||
href="https://twitter.com/intent/tweet?text=" + tweetText
|
||||
target="_BLANK"
|
||||
target="_BLANK",
|
||||
rel="noopener noreferrer"
|
||||
) #{linkText ? linkText : 'tweet'}
|
||||
|
||||
mixin linkUniversities(linkText, linkClass)
|
||||
|
|
Loading…
Reference in a new issue