Does this only happen with prettyprint? It should not happen with a normal mend. As a normal mend should not touch whitespace. If so, that is expected behaviour.
As pretty print has no idea what your class in css has done. It simply tries to clean up and format whitespace and will only leave untouched pre and tt tags. The same issue will happen if you use css to make an inline tag into a block tag. Prettyprint reformats whitspace in html and does not pull in or grok the css that may change how tags are redefined.
Last edited by KevinH; 08-17-2017 at 02:21 PM.
|