We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用了 gulp-html-minifier-terser 插件在自动构建时压缩代码,但是 Actions 始终报错,测试了 bgm 与 bgmv0 均如此,经排查是生成页面时 HTML 语法错误导致压缩失败。
gulp-html-minifier-terser
bgm
bgmv0
比如 <span class="bangumi-info-items" style="color:style="color:#58b2dc";">,style 预期应该为 style="color:#58b2dc;"
<span class="bangumi-info-items" style="color:style="color:#58b2dc";">
style="color:#58b2dc;"
v1.10.0
hexo -v
hexo: 7.3.0 hexo-cli: 4.3.2 os: win32 10.0.22631 undefined node: 22.2.0 acorn: 8.11.3 ada: 2.7.8 ares: 1.28.1 base64: 0.5.2 brotli: 1.1.0 cjs_module_lexer: 1.2.2 cldr: 45.0 icu: 75.1 llhttp: 9.2.1 modules: 127 napi: 9 nghttp2: 1.61.0 nghttp3: 0.7.0 ngtcp2: 1.3.0 openssl: 3.0.13+quic simdjson: 3.9.2 simdutf: 5.2.8 tz: 2024a undici: 6.13.0 unicode: 15.1 uv: 1.48.0 uvwasi: 0.0.21 v8: 12.4.254.14-node.12 zlib: 1.3.0.1-motley-7d77fb7
The text was updated successfully, but these errors were encountered:
修复:自定义样式导致html压缩错误(#479)
e918ac9
No branches or pull requests
问题描述及如何重现此问题
使用了
gulp-html-minifier-terser
插件在自动构建时压缩代码,但是 Actions 始终报错,测试了bgm
与bgmv0
均如此,经排查是生成页面时 HTML 语法错误导致压缩失败。比如
<span class="bangumi-info-items" style="color:style="color:#58b2dc";">
,style 预期应该为style="color:#58b2dc;"
报错信息(建议使用截图,请尽量截取全部把错误信息)
插件版本
v1.10.0
环境信息(使用
hexo -v
命令查看)The text was updated successfully, but these errors were encountered: