hexo-filter-nofollow
hexo-filter-nofollow copied to clipboard
`noopener` seems didn't work
noopener
seems didn't work. i'am not sure.
hexo generate result:
<a target="_blank" href="http://hexo.io/" rel="external nofollow noreferrer">blank ahead</a>
<a href="http://hexo.io/" rel="external nofollow noreferrer" target="_blank">blank follow</a>
<a href="http://hexo.io/" rel="external nofollow noreferrer">no blank</a>
Reproduce
-
hexo init test; cd test
-
hexo g
, and get html of the post 'Hello World' -
npm i hexo-filter-nofollow
-
hexo clean; hexo g
, and get html of the post 'Hello World' - compare the result of steps 2 and 4
some links had noopener
, but some don't.