-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Automatically adding html, body tag on manifest, serviceworker files #840
Comments
Thanks for opening this issue, maintainers will get back to you as soon as possible! |
You should config hexo skip_render:
- manfiest.json |
@jiangtj Skip rendering other files? (like serviceworker..) How about adding xmlMode option? |
xmlMode?What's it? 😂 |
So? If disable exturl, it work well? |
@jiangtj Yes, works fine. |
Orz, may need modify exturl filter...
|
I can’t reproduce this bug... exturl uses after_post_render filter, which should only work on html files, not json. |
@stevenjoezhang Yes, it seems not wrapper with @gracefullight Can you test it with added this. And I don't know why your json file wrappered with |
@stevenjoezhang yes, I try to reproduce in this time, but it fails. 😨 Thanks for your time. @jiangtj
|
The loading of cheerio has been optimized in #1042. You can help to confirm whether the problem has been solved |
See also hexojs/hexo#3315 |
I agree and want to create new issue
Expected behavior
localhost:4000/manifest.json
Actual behavior
localhost:4000/manfiest.json
Steps to reproduce the behavior
Automatically adding <html><head><body> ? cheeriojs/cheerio#1031 (comment)
Node.js and NPM Information
Package dependencies Information
Hexo Information
Hexo version
Hexo Configuration
NexT Information
NexT Version:
NexT Scheme:
NexT Configuration:
Other Information
The text was updated successfully, but these errors were encountered: