remoteoss / swoosh_gallery

Preview and display your Swoosh mailers to everyone
MIT License
41 stars 12 forks source link

Double render for HTML/text versions #21

Open ssbb opened 1 year ago

ssbb commented 1 year ago

Hi!

Email rendered twice for HTML and text versions. It can be an issue when you using eg Faker for test emails data.

I see why it's happens though. What you think about using iframe srcdoc or data URL instead of serving html version on it's own URL?

vrcca commented 11 months ago

Hey @ssbb! Sorry for taking a year to reply 🙈 😂

I don't have the time to tackle this right now, but PR are welcome 🙏🏽

ssbb commented 11 months ago

Hi! I ended up with in-house solution for previews because of many other things so feel free to close this 🙂