Title: HTML minify problem
Last modified: September 26, 2019

---

# HTML minify problem

 *  Resolved [beddingeu](https://wordpress.org/support/users/beddingeu/)
 * (@beddingeu)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/html-minify-problem/)
 * Hello,
    I have a problem with HTML minify option and Astra theme. When I activate
   the HTML minify blog archive layout it breaks. You can look at (Report number:
   AJADDKFO) Same category with HTML minify – /category-1/ Same category without
   HTML minify – /category-2/ Best regards, Vesela

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/html-minify-problem/#post-11971036)
 * Hi [@beddingeu](https://wordpress.org/support/users/beddingeu/), I believe the
   layout different is because of CSS combine, can you try to turn `CSS combine [
   OFF]` and left `HTML minify [ON]` to confirm?
 *  Thread Starter [beddingeu](https://wordpress.org/support/users/beddingeu/)
 * (@beddingeu)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/html-minify-problem/#post-11971221)
 * Hello,
    Thanks for a fast reply. I turned off all except minify options and problem
   still appear. Something gets wrong with the HTML minification. You can view a
   screenshot of source code – [here](https://imgur.com/hHWl2mB). I tried all other
   options one by one, and the only HTML minify broke the layout. Best regards.
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/html-minify-problem/#post-11972470)
 * Hi [@beddingeu](https://wordpress.org/support/users/beddingeu/), we find there
   are two inline CSS error on the non-minify page: [https://validator.w3.org/nu/?doc=https%3A%2F%2Fiiyama-bg.com%2Fcategory-2%2F](https://validator.w3.org/nu/?doc=https%3A%2F%2Fiiyama-bg.com%2Fcategory-2%2F)
 * Could you try to remove that error and purge the cache again to see does it work?
 *  Thread Starter [beddingeu](https://wordpress.org/support/users/beddingeu/)
 * (@beddingeu)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/html-minify-problem/#post-11972722)
 * Hello,
    I removed inline CSS errors, but nothing changes.
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/html-minify-problem/#post-11975677)
 * HI [@beddingeu](https://wordpress.org/support/users/beddingeu/), we successfully
   reproduced the issue and checking on it now, will let you know when we find out
   the reason.
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/html-minify-problem/#post-11975822)
 * Hi [@beddingeu](https://wordpress.org/support/users/beddingeu/),
 * On the non-minified source code `/category-2/` [row 139, 167 and 195](https://imgur.com/a/h3TvOop),
   the `<article>` tag has an empty line on next row, which make our HTML Minify
   engine cannot recognize the class is for the `<article>` tag and [combined them as the same string](https://imgur.com/a/zEuUZbf).
   Can you try to remove the space manually?
 * We will try to investigate why it doesn’t minify correctly but the engine might
   not update soon, please fix it by removing the space temporarily.
 * Thanks.
 *  Thread Starter [beddingeu](https://wordpress.org/support/users/beddingeu/)
 * (@beddingeu)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/html-minify-problem/#post-11976262)
 * Thank you for your support. I will contact Astra support team to fix that.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘HTML minify problem’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [beddingeu](https://wordpress.org/support/users/beddingeu/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/html-minify-problem/#post-11976262)
 * Status: resolved