Comments (4)
hi @pablocrivella
Suddenly emails content is only rendered as text
Weird, I didn't release anything relevant that could cause this bug. In fact, last release v0.8.0...v0.8.1 only changed fonts to Google Fonts API...
It should be caused, 99% sure, by some gem update (which Maily depends on), maybe mail
(internal Rails dep)? Did you know if that's your case?
I'll try to reproduce it locally btw.
is there anyway to update the emails without having to restart the rails server?
Nope, basically because how Maily is actually designed 👉 https://github.com/markets/maily#templates-edition-allow_edition-option
Thanks for your feedback @pablocrivella! As I said before, I'll try to dig on that issue asap, meanwhile if you can provide me more info, it would be very useful.
from maily.
@pablocrivella I think I've found the cause: mail
gem updated from 2.7.0 to 2.7.1 (released last month), returning back to previous version fixed it for me:
gem 'mail', '2.7.0'
You can use this workaround for now, but of course, I'll try to find a fix :)
This is what I noticed it changed between these 2 versions:
- In 2.7.0:
content.raw_source.html_safe? => true
- In 2.7.1:
content.raw_source.html_safe? => false
from maily.
@pablocrivella I just pushed a fix here #33 😛 could you please give it a try?
from maily.
@pablocrivella v0.8.2 released https://rubygems.org/gems/maily/versions/0.8.2 🚀
from maily.
Related Issues (20)
- Notify (via email) template changes to developer
- Allow to add multiple hooks/versions per mail
- Email description - fetch from method comments
- Allow to hide emails
- Capture internal exceptions
- Lazy load hooks
- Engine doesn't render HOT 7
- Viewing an email gives undefined method `size' for nil:NilClass HOT 6
- Breaks if sass-rails is not present HOT 11
- Exception when running the install generator HOT 5
- Edit mail fails with slim as a template engine HOT 7
- Configured available locales not being picked up by maily HOT 3
- Inherited methods dont show on ui HOT 7
- Image as inline attachments not being showed HOT 10
- error | rails g maily:install HOT 7
- Arrays in arguments of mailer.register_hook is not supported HOT 1
- App fails to boot because Maily expects the asset pipeline to be present HOT 5
- Remove sass and move to plain css HOT 1
- Hide the email form if allow_delivery is false HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maily.