mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
48.35k stars 9.97k forks source link

Plain text urls should be linkified #14549

Closed jrmuizel closed 2 years ago

jrmuizel commented 2 years ago

In the attached PDF there are some plain text urls. Adobe Acrobat Reader, Preview and Chrome all linkify them and pdf.js doesn't.

Here's the Pdfium code for doing the link extraction: https://source.chromium.org/chromium/chromium/src/+/main:third_party/pdfium/core/fpdftext/cpdf_linkextract.cpp;l=180?q=CheckWebLink&sq=&ss=chromium

link-test.pdf

Snuffleupagus commented 2 years ago

Duplicate of #3172