Hello,
Thank you for reaching out and I am happy to help!
Can you please share the HTML minify settings currently enabled in the W3 Total Cache?
Also, can you please share the URL of the affected page and the HTML Minify method used and also, please let me know if you are using Cloudflare and their Minify options as well.
And to confirm again, the problem is resolved if you only disable HTML modification and keep using JS and CSS minify?
Thanks!