Merge pull request #1542 from sharelatex/as-fix-noopener

Fix some missing noopener attributes

GitOrigin-RevId: a833fc26b2c783bb713f771fb2ae4a494e5fec63
This commit is contained in:
Simon Detheridge 2019-02-25 10:23:04 +00:00 committed by James Allen
parent 838fe00058
commit c6b8ab3245

View file

@ -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)