View Single Post
Old 08-17-2017, 02:17 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,844
Karma: 6120478
Join Date: Nov 2009
Device: many
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.
KevinH is online now   Reply With Quote