Minify HTML overminifying text
-
Hello, when we turn on the Minify HTML option for site optimizations, our <pre> wrapped text loses some formatting. The situation we’re noticing is that double line breaks are removed entirely. So for instance:
Oh, oh, oh, I’m on fire
Oh, oh, oh, I’m on fireWoo-ooh-ooh
Woo-ooh-ooh
Becomes:Oh, oh, oh, I’m on fire
Oh, oh, oh, I’m on fire
Woo-ooh-ooh
Woo-ooh-ooh
I’m guessing the html minifier should ignore anything wrapped in a pre tag, and maybe <code> too.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Minify HTML overminifying text’ is closed to new replies.