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

noopener seems didn't work #19

Open
uiolee opened this issue Feb 21, 2022 · 1 comment
Open

noopener seems didn't work #19

uiolee opened this issue Feb 21, 2022 · 1 comment

Comments

@uiolee
Copy link
Member

uiolee commented Feb 21, 2022

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>
@uiolee uiolee changed the title noopener seems didn't work? noopener seems didn't work Aug 14, 2023
@uiolee
Copy link
Member Author

uiolee commented Aug 14, 2023

Reproduce

  1. hexo init test; cd test
  2. hexo g, and get html of the post 'Hello World'
  3. npm i hexo-filter-nofollow
  4. hexo clean; hexo g, and get html of the post 'Hello World'
  5. compare the result of steps 2 and 4

some links had noopener, but some don't.

result

图片

图片

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

No branches or pull requests

1 participant