Eventually I got home and checked, and it's failing here too.
The attached patch fixes the issue, ignoring a single trailing dot, comma, colon, semicolon, or exclamation mark. Maybe the question mark could be added too; closing parentheses are already ignored.
I tested the patch locally and it seems to work fine, however this should be reported and fixed upstream. I'll create a new issue upstream once I prepare a proper patch with tests.
|