zmarkdown icon indicating copy to clipboard operation
zmarkdown copied to clipboard

PDF and EPUB formats require URL encoded URLs

Open Situphen opened this issue 7 years ago • 2 comments

See https://github.com/zestedesavoir/zds-site/pull/4962#issuecomment-402528885

Works fine for the HTML, PDF and EPUB :

![Link](https://situphen.eu/static/image%C3%A8%C3%A8%C3%A8%20nomm$%20biza%C3%80%C3%80%C3%80%C3%80%C3%80rr%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC.png)

Works fine for the HTML but doesn't appear for the EPUB and makes the PDF to be corrupted :

![Link](https://situphen.eu/static/imageèèè nomm$ bizaÀÀÀÀÀrr€€€€.png)

Situphen avatar Jul 05 '18 13:07 Situphen

I'm not sure we can fix this.

  • Encoding all image URIs would break URIs already URI encoded.
  • Does the EPUB format really support remote images such as ![Link](https://situphen.eu/static…)?
  • Same question for PDFs.

vhf avatar Jul 22 '18 13:07 vhf

Is this still open question? May I close it? @Situphen

StaloneLab avatar Feb 23 '20 21:02 StaloneLab