View Single Post
Old 04-03-2014, 12:38 PM   #601
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
Just looked at source of this PI and I think you could hi-jack the smarten-punctuation function, in modify.py - line 497 calls the smarten routine for each of the raw html files, so if you called a 'span-trim' function instead, that should manage it.

Edit: Backup your existing PI, and any testing epubs beforehand.

Last edited by Perkin; 04-03-2014 at 12:43 PM.
Perkin is offline   Reply With Quote