ds300 / jetzt

Speed reader extension for chrome
Other
485 stars 124 forks source link

Sentences ending with parentheses don't parse correctly #129

Closed yariza closed 10 years ago

yariza commented 10 years ago

Sentences ending with a parenthetical don't parse correctly (such as this one). What happens is that the paren'd words appear, and then a single period is displayed as the last word. Quotes don't have this problem, as the end of quotation marks come after the period, "like this." Parsing should be fixed so that the period is made a part of the previous word before the closing paren.

ds300 commented 10 years ago

This is the intended behaviour and won't be changed because moving the punctuation inside the parens has the potential to alter the meaning of the text. It also does happen for quotation marks that appear "like so". Rather than "like so." and, again, won't be changed. A way to avoid having lone punctuation was proposed in #46 but I don't like the idea.