View Single Post
Old 12-01-2011, 03:02 AM   #2
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: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Artha View Post
I have searched and replaced all instances of minus with en–dash. The result meant all XHTML pages were reset. The same number of files, the same name files, the same list order, each one with only the initial string of a new file. Have I stumbled upon a feature? There's no regex set up or anything and it's repeatable.

Also: is there a way to do that replace for all XHTML files, to be more precise to the text only and not going into the tags? Because Sigil refuses to do that while in Book View.
No
You must use code view for a replace in all HTML files.

You probably want to use lots of care in CV because minus might be part of a class name (selector), header or a negative value in a style attribute
theducks is offline   Reply With Quote