Seaoak

Results 3 comments of Seaoak

I modified the source text to include all special characters. ``` const html = `Hello "world&".Hello "world\"".Hello "world\`".Hello "world=".Hello "world\\".Hello "world&".Hello "world\"".Hello "world\`".Hello "world=".Hello "world\\".Hello "world&".Hello "world\"".Hello "world\`".Hello "world=".Hello "world\\".Hello...

First, for @ebsen's request, the folder name `_posts` is *hard-coding* in hexo's source files: https://github.com/hexojs/hexo/blob/master/lib/plugins/filter/new_post_path.js#L26 https://github.com/hexojs/hexo/blob/master/lib/plugins/processor/post.js#L14 I think it is possible to make above two lines customizable, but I'm not...

@curbengh Thank you for nice waking-up call! I checked a "missing-unit-test" point of `hexo-util`. https://github.com/hexojs/hexo-util/blob/master/test/highlight.spec.js#L172 I found that `highlight()` of `hexo-util` might not work well for illegal syntax codes. `highlight()`...