View Single Post
Old 04-06-2026, 05:04 PM   #154
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: 9,533
Karma: 6774048
Join Date: Nov 2009
Device: many
I am thinking of adding a safety check to our PrettyPrint which will walk all linked css files and internal xhtml style tags looking for the use of the white-space property with any value other than "normal" and refuse to prettyprint that file. FWIW, pre tags contents will properly not be condensed but not eveyone uses pre tags in their html.

Thoughts?

Update: This safer prettprint approach has now been pushed to master.

Last edited by KevinH; 04-08-2026 at 05:05 PM.
KevinH is offline   Reply With Quote