Giter Club home page Giter Club logo

Comments (4)

markets avatar markets commented on June 14, 2024

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.

markets avatar markets commented on June 14, 2024

@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:

render html: content.raw_source, layout: false

  • In 2.7.0:
content.raw_source.html_safe? => true
  • In 2.7.1:
content.raw_source.html_safe? => false

from maily.

markets avatar markets commented on June 14, 2024

@pablocrivella I just pushed a fix here #33 😛 could you please give it a try?

from maily.

markets avatar markets commented on June 14, 2024

@pablocrivella v0.8.2 released https://rubygems.org/gems/maily/versions/0.8.2 🚀

from maily.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.