I want to generate GSP templates for html emails. To support more email clients, it is recommended to use inline css in html style elements.
The following is a discussion of this topic: Compile CSS to HTML as Inline Styles
Is there a Grails plugin where I can specify some GSP files for which CSS should be compiled as inline?
If the plugin is missing, how can I specify the GSP files for which css should run inline?
Here is an example. I have the following GSP templates for my html emails that I send using the Grails plugin .
/mail/signup_mail.gsp /mail/welcome.gsp /mail/newsletter.gsp
Each GSP file contains a style.css file. This must be compiled.
confile
source share