View Single Post
Old 09-06-2023, 04:09 PM   #167
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,958
Karma: 6361444
Join Date: Nov 2009
Device: many
Okay, I just added code to harden the "delete unused styles" by removing trailing whitespace from class names. And pushed it to master.
It appears to now do the "right" thing.

As for mend or prettify handling that, it is hard because whitespace is generally allowed in attribute values, just not in class attribute values when only one class is present.

Last edited by KevinH; 09-06-2023 at 05:18 PM.
KevinH is offline   Reply With Quote