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

Hexo get stuck when generate. #1136

Closed
rexdf opened this issue Mar 23, 2015 · 8 comments
Closed

Hexo get stuck when generate. #1136

rexdf opened this issue Mar 23, 2015 · 8 comments

Comments

@rexdf
Copy link

rexdf commented Mar 23, 2015

The following code will get hexo stuck for ever. And no error or exception is reported.

You should keep everything including indention with four space to get hexo stuck.

I have tested it on Win8.1x64 and ArchLinux x64.

hexo_test.md

title: "test"
date: 2015-03-23 19:17:05
tags:

---

    -webkit-transition-duration: 400ms;
    -webkit-transition-property: width, background;
    -webkit-transition-timing-function: ease;

Run hexo generate, then it will never return and gets stuck(at least an hour).

@rexdf
Copy link
Author

rexdf commented Mar 23, 2015

I try to migrate from octopress to hexo. I have 200+ posts, it gets stuck and error on a lot of them.

@draveness
Copy link

The same questions..

@Xuanwo
Copy link
Contributor

Xuanwo commented Mar 23, 2015

是因为'-'?

@rexdf
Copy link
Author

rexdf commented Mar 23, 2015

@Xuanwo #1137

@rexdf
Copy link
Author

rexdf commented Mar 23, 2015

hexo-util highlight call itself in highlightAuto. It causes a recursion.

@rexdf
Copy link
Author

rexdf commented Mar 23, 2015

highlight.js

language less is the bug.

@rexdf
Copy link
Author

rexdf commented Mar 23, 2015

https://github.com/isagalaev/highlight.js/search?q=less&type=Issues

Hightlight for less is buggy and with very high CPU usage.

All node/npm project is full of bugs from upstream. The fix will take a very long time.

@rexdf rexdf closed this as completed Mar 31, 2015
@tommy351
Copy link
Member

ref #1036

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

4 participants