6 ms·
arXiv replaces any URL in the text of the abstract with a link with text "this http url"; it seems the authors did not know this and just embedded a bare URL in
by HerrMonnezza 2y ago
arXiv replaces any URL in the text of the abstract with a link with text "this http url"; it seems the authors did not know this and just embedded a bare URL in their abstract.
- vasco 2y agoI think it mistook a typo that didn't add a space after a sentence.
- johndough 2y agoI think this is the relevant code: TLDS = "[a-z][a-z]+" https://github.com/arXiv/arxiv-base/blob/develop/arxiv/base/urls/links.py#L116-L123 https://github.com/arXiv/arxiv-base/blob/develop/arxiv/base/... A more restrictive TLD list would have prevented this, but I certainly don't want to be the one to add new TLDs all the time, so I can see why the code looks like it does.
- Mathnerd314 2y agoMozilla has a list, https://publicsuffix.org/list/ https://publicsuffix.org/list/, relatively easy to update. I'm sure there is some Python wrapper library they could use.