mat-sz / letterparser

✉️ Isomorphic e-mail parser (with MIME support) written in TypeScript.
BSD 3-Clause Clear License
34 stars 4 forks source link

Broken links #4

Closed dogukanolgun closed 3 years ago

dogukanolgun commented 3 years ago

Hi, the parse works fine but it turns '' to ' ' ('' to space). Later the spaces turn into "%20" in the browser and links fail, images that contain _ fail to load due to incorrect url Exemple: https://google.com/abc_de after extracting https://google.com/abc de rendering on browser https://google.com/abc%20de

mat-sz commented 3 years ago

@dogukanolgun I'm unable to reproduce your issue, could you please share the raw e-mail?

mat-sz commented 3 years ago

@dogukanolgun I was able to resolve the issue in the lettercoder package. The update has been published to NPM.