Closed prixt closed 4 years ago
I've noticed this issue since version 1.1.10. This bug is related to the minifier crate. For now, it would be more stable if you downgrade html-minifier
to =1.1.9
.
Understood. Thank you for the response!
Thanks to the author of the minifier crate, that should be fixed now.
Yep, just checked the most recent release and it works!
OS: Windows 10, Toolchain: stable-x86_64-pc-windows-msvc
Hello. I'm using html-minifier in the build script. After reading an html file using include_str! I insert javascript code into it using str::replace. And I'm getting these panics when building. I tested by removing the css and minifying the js before inserting it into the html, but the error still happens. This doesn't happen with v1.1.14.
Error backtrace
index.html
script.js
build.rs