Quote:
Originally Posted by davidfor
The file you want is "container.py". It's probably enough to add the other "close quote" characters into the regex at line 215. And as an ellipse can be used at the end of a sentence, it probably should be in there as well. The statement is probably:
Code:
groups = re.split(ur'(.*?[\.\!\?\:…][\'"\u201d\u2019“]?\s*)',
text,
flags=re.UNICODE | re.MULTILINE)
|
Thanks, it works well

. BTW, I prefer this (more readable) form:
Code:
groups = re.split(ur'(.*?[\.\!\?\:\u2026][\'"\u2019\u201C\u201D]?\s*)',
text,
flags=re.UNICODE | re.MULTILINE)
Quote:
Originally Posted by davidfor
And for confirmation, can you point to a book in the Kobo store that uses this style of quotes? We can then check that what we do agrees with Kobo does.
|
The book (in Czech language) with this
end quotation mark u\201C wasn't downloaded from the Kobo store

.