mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05: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-trigger=trigger
|
||||||
event-tracking-mb=mb
|
event-tracking-mb=mb
|
||||||
event-segmentation=mbSegmentation
|
event-segmentation=mbSegmentation
|
||||||
target="_BLANK"
|
target="_BLANK",
|
||||||
|
rel="noopener noreferrer"
|
||||||
)
|
)
|
||||||
if icon
|
if icon
|
||||||
i(class="fa fa-print")
|
i(class="fa fa-print")
|
||||||
|
@ -113,7 +114,8 @@ mixin linkTweet(linkText, linkClass, tweetText, track)
|
||||||
event-tracking-mb=mb
|
event-tracking-mb=mb
|
||||||
event-segmentation=mbSegmentation
|
event-segmentation=mbSegmentation
|
||||||
href="https://twitter.com/intent/tweet?text=" + tweetText
|
href="https://twitter.com/intent/tweet?text=" + tweetText
|
||||||
target="_BLANK"
|
target="_BLANK",
|
||||||
|
rel="noopener noreferrer"
|
||||||
) #{linkText ? linkText : 'tweet'}
|
) #{linkText ? linkText : 'tweet'}
|
||||||
|
|
||||||
mixin linkUniversities(linkText, linkClass)
|
mixin linkUniversities(linkText, linkClass)
|
||||||
|
|
Loading…
Reference in a new issue