standardebooks / tools

The Standard Ebooks toolset for producing our ebook files.
Other
1.43k stars 127 forks source link

y-022 #691

Closed vr8hub closed 6 months ago

vr8hub commented 6 months ago

An intent question. The y-022 test for two quotes in the same paragraph only checks for instances where the second paragraph is at the end of the paragraph, e.g. “[^”]+?”$. Is there a a reason?

There are quite a large number of instances of two quotes being present that aren't caught by the present test, so a change would require reviewing a lot of new errors and either correcting them or adding an ignore file if they are already correct. The question is whether you intentionally skipped those, i.e., did you find most "real" errors were instances where the second one was at end of paragraph?

EDIT: Actually, now that I look more closely at it, it also only looks for the first quote at the beginning of the line (^“[^”]+?”). So I'm guessing both are almost certainly intentional.