diff options
author | Juhani Krekelä | 2021-07-26 19:52:13 +0300 |
---|---|---|
committer | Wolfgang Müller | 2021-11-27 14:05:19 +0100 |
commit | f16376c9fa7b51c71bc7752e85e3d001adc244e2 (patch) | |
tree | c8ee38d5a3ce5aa267344137cfa56d5add345e64 /po | |
parent | 111d2ef708ccdab85717efbc420f28fa50b0b7a5 (diff) | |
download | weltschmerz-f16376c9fa7b51c71bc7752e85e3d001adc244e2.tar.gz |
Don't consider punctuation as part of the URL
We currently consider periods, commas, colons, semicolons, exclamation
points and question marks following a URL as part of it. While ending a
URL with these characters is technically speaking valid, more commonly
they are a result of people ending a clause with a URL. Let's ignore
such characters if they are present at the very end of a URL.
Make sure to still match them, however, if any non-punctuation
characters follow. This way, almost all actual usage of punctuation
within URLs is unaffected.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions