View Single Post
Old 04-10-2012, 06:02 AM   #177
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by Jellby View Post
Actually, what I meant is that the thin spaces shouldn't even be in the code, they're just a display thing. But short of that, adding them when the conversion into ePub is done would be already an improvement.
I published a regex emulating them from  
Just a lookalike. But ADE does not like thinsp and nnbsp so it's just a - clumsy - workaround.

Here is it to be used for example with Sigil as a regex (all html files).

Search ([«]) | ([;!?»])
Replace \1<span class="fine">&nbsp;</span>\2

CSS code is a one-liner:
span.fine {font-size:0.25em;}

Last edited by roger64; 04-10-2012 at 06:08 AM.
roger64 is offline   Reply With Quote