View Single Post
Old 04-24-2014, 01:15 PM   #650
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)
Going to give the 2 routine version a try.

I personally think that's the one to finalise, as some user may want to keep the kobo stuff, but strip the empty spans.

With regard to the '<\?dp([^>]*?)\?>\n?' - should you include the \n? - as there may be instances where that \n could be between two words, which in the html would then render as a space, so removing it would be wrong. Unless you can guarantee that it's removable in which case never mind.
Perkin is offline   Reply With Quote