mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-03 18:17:56 -05:00
PDF previews showed a blank page in Safari versions older than 26.2, while the same file uploaded fine and rendered normally in Chrome and Firefox. The bundled PDF library only targets the newest browsers, so in older Safari it stopped with an error before drawing anything. Previews and the text extraction for PDFs attached in chat now use the library's build for older browsers, which is what pdf.js recommends for anything but the latest browsers, at the cost of a slightly larger download. Fixes #35441