Mange / roadie-rails

Making HTML emails comfortable for the Rails rockstars
MIT License
363 stars 65 forks source link

URLs shown for hrefs #77

Closed malagant closed 6 years ago

malagant commented 6 years ago

I use roadie and rails and in my generated emails I see urls printed everywhere (Links etc.) Is this a feature? I couldn't find any documentation here. E.g.: When I have <%= link_to image_tag ('frontend/facebook.svg), store.facebook_url /> The output adds the link to the right of the SVG.

Mange commented 6 years ago

That looks very strange to me. Would you mind posting a full example and the resulting HTML?

This could be an email client feature that has little to do with the resulting HTML, or that the link gets extra spaces inside it which shows up unless hidden with CSS.

mån 23 okt. 2017 kl 15:10 skrev Michael Johann notifications@github.com:

I use roadie and rails and in my generated emails I see urls printed everywhere (Links etc.) Is this a feature? I couldn't find any documentation here. E.g.: When I have <%= link_to image_tag ('frontend/facebook.svg), store.facebook_url /> The output adds the link to the right of the SVG.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Mange/roadie-rails/issues/77, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAGPwZMZ_hX7faWT9umlk-K-s5GBj7Aks5svKxygaJpZM4QDAd8 .

malagant commented 6 years ago

Thank you for your quick support. I found out that the gem rails_email_preview did the change, wenn using roadie for email preview. Closing this. Thanks again. 👍