showdown/test/features/openLinksInNewWindow
Jammerware 1cd281f064 fix(openLinksInNewWindow): add rel="noopener noreferrer" to links
Add rel="noreferrer" to links when openLinksInNewWindow is on. Also add noopener when openLinksInNewWindow is on.
target="_blank" without also adding rel="noopener noreferrer" creates a vulnerability
(since the site you're linking to has access to the window.opener by default.
This  adds rel="noopener noreferrer" to links generated by the makeHtml converter when openLinksInNewWindow is true.

Closes #670
2019-11-02 22:43:50 +00:00
..
hash-links-open-in-same-page.html fix(openLinksInNewWindow): hash links are not affected by the option 2017-11-11 13:19:19 +00:00
hash-links-open-in-same-page.md fix(openLinksInNewWindow): hash links are not affected by the option 2017-11-11 13:19:19 +00:00
simple-cases.html fix(openLinksInNewWindow): add rel="noopener noreferrer" to links 2019-11-02 22:43:50 +00:00
simple-cases.md test: add several testcases 2017-04-23 02:04:13 +01:00
simple.html fix(openLinksInNewWindow): add rel="noopener noreferrer" to links 2019-11-02 22:43:50 +00:00
simple.md feat(openLinksInNewWindow): add option to open all links in a new window 2017-03-31 00:25:40 +01:00
simplifiedAutoLink.html fix(openLinksInNewWindow): add rel="noopener noreferrer" to links 2019-11-02 22:43:50 +00:00
simplifiedAutoLink.md feat(openLinksInNewWindow): add option to open all links in a new window 2017-03-31 00:25:40 +01:00