Skip to content

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

Merged
kcondon merged 1 commit intodevelopfrom
6202-href-rel-noopener
Oct 3, 2019
Merged

adds rel="noopener" attribute to the link formatting in citation.tsv#6249
kcondon merged 1 commit intodevelopfrom
6202-href-rel-noopener

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