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

【HELP】 hexo generate '<' to '&lt;' and '>' to '&gt;' in index.html #4531

Closed
5 tasks done
CapAllen opened this issue Sep 14, 2020 · 2 comments
Closed
5 tasks done

Comments

@CapAllen
Copy link

CapAllen commented Sep 14, 2020

Check List

Please check followings before submitting a new issue.

Question

Environment & Settings

Node.js & npm version

Node.js  v10.15.3
npm  6.4.1
site  http://capallen.gitee.io
theme Next

Others

The page shows like this:
image

So , I check the code of index.html and it shows like this:
<a href="/archives" rel="section">&lt;i class="menu-item-icon fa fa-fw fa-archive"&gt;&lt;/i&gt; &lt;br/&gt;归档&lt;span class="badge"&gt;28&lt;/span&gt;</a>

As we can see, the < has been generated to &lt;, and > to &gt;.

What should I do? Thx for your help.

@stevenjoezhang
Copy link
Member

NexT v7.1.0 is incompatible with Hexo 4.0+
See part "Hexo 与 NexT 兼容性" in this page: next-theme/hexo-theme-next#4

@CapAllen
Copy link
Author

NexT v7.1.0 is incompatible with Hexo 4.0+
See part "Hexo 与 NexT 兼容性" in this page: next-theme/hexo-theme-next#4

Thanks

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

2 participants