Open liuyib opened 4 years ago
my code in markdown:
\`\`\` html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>test</title> </head> <body> <header id="header" class="header"> </header> <main id="main" class="main"> </main> <footer id="footer" class="footer"> </footer> </body> </html> \`\`\`
if I enable js_concator, It will display incorrectly:
js_concator
if I not enable js_concator, it will display normally:
My minifiers config:
all_minifier: true js_concator: enable: true bundle_path: '/js/bundle.min.js' front: false silent: false
My package.json:
{ "name": "hexo-site", "version": "0.0.0", "private": true, "hexo": { "version": "4.0.0" }, "scripts": { "dev": "hexo clean && hexo s -p 8001 -o", "build": "hexo clean && hexo d -g" }, "dependencies": { "hexo": "^4.0.0", "hexo-algolia": "^1.3.1", "hexo-all-minifier": "^0.5.3", "hexo-deployer-git": "^1.0.0", "hexo-generator-archive": "^0.1.5", "hexo-generator-category": "^0.1.3", "hexo-generator-feed": "^1.2.2", "hexo-generator-index-pin-top": "^0.2.2", "hexo-generator-search": "^2.4.0", "hexo-generator-sitemap": "^2.0.0", "hexo-generator-tag": "^0.2.0", "hexo-pwa": "^0.1.3", "hexo-render-pug": "^2.1.4", "hexo-renderer-ejs": "^0.3.1", "hexo-renderer-markdown-it-plus": "^1.0.4", "hexo-renderer-stylus": "^0.3.3", "hexo-server": "^0.3.3", "hexo-wordcount": "^6.0.1" } }
In fact, i meet a similar bug, it seems change my file, and lead to the disappearance of comment plug(like valine, gitTalk, twikoo). so sad 😥
my code in markdown:
if I enable
js_concator
, It will display incorrectly:if I not enable
js_concator
, it will display normally:My minifiers config:
My package.json: