View Single Post
Old 06-16-2016, 03:13 AM   #188
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,199
Karma: 317184274
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by roger64 View Post
It's tricky to do it because many tags, including in the head, contain such signs and if you add some no-break space there, you trigger parsing mistakes.

So, the question is: how can I insert these signs only within the text and avoid spoiling any tag?
Perhaps the calibre editor or Sigil provide some 'text only' checkbox in their search/replace?

To do the job properly requires an XML parser linked to the search/replace, so no ordinary text editor is going to be adequate.
pdurrant is offline   Reply With Quote