On our page we are using <pre>...</pre> tags, which contain source code snippets (with multiple spaces, newlines, etc.
Current behaviour
I have noticed that such snippets lose their formatting, as contents of this tag are minified as well.
Expected behaviour
Contents of <pre> tags remain unchanged while rest of HTML is minified