View Single Post
Old 10-23-2026, 08:25 AM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 32,044
Karma: 65700000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I have 10 saved searches.
These are ALL really templates and get touched up to match the actual class="..."
Only the simple Join to lower do I ever use 'replace all' (and that is after checking what it does). For the rest, I use Find (this is what you also use to Skip without a replace)

Tip 1 is always 'Reformat: Multiple lines' before using the CSS cleans it adds the optional last ; before the }. And Prettify for the ALL HTML before using.

Tip 2 is to complete the basic cleans like join to lower before STEPPING thru the joins for honorific Be careful on the order you use things with Capitals and Periods
Code:
Mr.</p>
<p class="foo">Smith...
is a case that should be joined with a space and is NOT 2 paragraphs.

Here is a screenshot of my normal saved 'Joins' It is not even 75% of what you will see. Those will still need hand crafting.
Some of mine include support for both curly and straight quotes.

For de-hyphen, I start with Calibre's Editor:Spell check (with the filter set to -) as it offers a joined version as a choice (note: not all words with - are wrong. Never just remove blindly)

Sigil and Calibre are TOOLS. I use both as the ARE different on what and how. Neither is wrong or bad. They fit with the way I do stuff

HTH
Attached Thumbnails
Click image for larger version

Name:	SigilCleanSnR.png
Views:	29
Size:	79.2 KB
ID:	226874  
theducks is offline   Reply With Quote