aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/TRANSLATE
diff options
context:
space:
mode:
authorJuhani Krekelä2021-07-26 19:52:13 +0300
committerWolfgang Müller2021-11-27 14:05:19 +0100
commitf16376c9fa7b51c71bc7752e85e3d001adc244e2 (patch)
treec8ee38d5a3ce5aa267344137cfa56d5add345e64 /TRANSLATE
parent111d2ef708ccdab85717efbc420f28fa50b0b7a5 (diff)
downloadweltschmerz-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 'TRANSLATE')
0 files changed, 0 insertions, 0 deletions