From d5a7507af2f9b6e37e7294a461413b091d77d3e5 Mon Sep 17 00:00:00 2001 From: Emerson Jair Date: Mon, 4 May 2020 07:57:24 -0300 Subject: [PATCH] Fix typo on `externalLinkRel` Also, add a link explaining why that can be a security issue. --- docs/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index d402384f0..b9bd0f769 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -446,11 +446,11 @@ window.$docsify = { - type: `String` - default: `noopener` -Default `'noopener'` (no opener) prevents the newly opened external page (when [externalLinkTarget](#externallinktarget) is `'_blank'`) from having the ability to control our page. No `rel` is set when its not `'_blank'`. +Default `'noopener'` (no opener) prevents the newly opened external page (when [externalLinkTarget](#externallinktarget) is `'_blank'`) from having the ability to control our page. No `rel` is set when its not `'_blank'`. See [this post](https://mathiasbynens.github.io/rel-noopener/) for more information about why you may want to use this option. ```js window.$docsify = { - externalLinkTarget: '', // default: 'noopener' + externalLinkRel: '', // default: 'noopener' }; ```