Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds rel="noopener" attribute to the link formatting in citation.tsv #6249

Merged
merged 1 commit into from
Oct 3, 2019

Conversation

landreev
Copy link
Contributor

@landreev landreev commented Oct 3, 2019

This was discussed at the standup meeting this AM.
This adds one more attribute to the html formatting for external urls that we provide in citation.tsv:

<a href="#VALUE" target="_blank" rel="noopener">#VALUE</a>

this is considered a better style/the recommended way, vs. just target="_blank".

(we've been meaning to add this for a while; and since we are recommending the installations to refresh the citation block in 4.17, could be a good time to do it now)

@dataversebot
Copy link

Can one of the admins verify this patch?

@mheppler mheppler self-requested a review October 3, 2019 15:46
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.001%) to 19.453% when pulling 4c846a8 on 6202-href-rel-noopener into adf499e on develop.

Copy link
Contributor

@mheppler mheppler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. 👍

@pdurbin
Copy link
Member

pdurbin commented Oct 3, 2019

Yeah, looks good. This appears to be a partial solution for #4717.

@kcondon kcondon self-assigned this Oct 3, 2019
@kcondon kcondon merged commit b1f8139 into develop Oct 3, 2019
@kcondon kcondon deleted the 6202-href-rel-noopener branch October 3, 2019 18:39
@djbrooke djbrooke added this to the 4.17 milestone Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants