View Single Post
Old 05-23-2012, 02:00 PM   #33
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)
From what I can make out, and a few tests, it may be a case of remove the check for an opening quote followed by a space at beginning of the line.

That will fix the problem dwig is having.

Because the way the smarten punctuation works, the code for a start-of-line quote followed with a space and the problem dwig is having, are both caught/caused by the same regex, and I can't (at moment) see a way to distinguish the two - because codewise they are the same.

So it may be better and more easily fixable afterward to remove that check so dwig' problem would never have happened.

Then HarryT (and anyone else) would be able to find the start-of-line quote + space in sigil or other editor.
That I think will be easier to fix than trying to find the midline leftquote, (or it might not).

What are your opinions?
Perkin is offline   Reply With Quote