typst / webapp-issues

Issue tracker for Typst's web app.
https://typst.app
13 stars 0 forks source link

SVGs get corrupted #264

Closed humtn closed 7 months ago

humtn commented 10 months ago

Description

Hi all,

Whenever I use the online editor and upload a pdf (generated from draw.io desktop app, for instance), it gets converted to a svg as Typst doesnt support pdf (iirc this functionality wasnt there couple months ago, so that's great you've implemented it!),

But, whenever I refresh my browser (closing and relaunching on Firefox), I systematically get: "Failed to parse SVG (unknown token at 1:1) " error on every figure that has been converted and sourced in the typ file.

Reproduction URL

No response

Browsers

Firefox

OS

Linux

weltauseis commented 8 months ago

Hi ! I can confirm this happens to me too, on two different projects. For one of those projects, the PDF had been converted manually, so I'm not sure this has anything to do with automatic PDF conversion.

Firefox Developper Edition & Windows.