QEHNick Posted May 20, 2022 Share Posted May 20, 2022 I'm putting together some new email templates and I can't seem to get the |empty modifier to behave itself. For example, on the template.... Service affected: {{.h_custom_c|empty}}{{.h_custom_d|empty}} ....results in this.. What am I doing wrong? Link to comment Share on other sites More sharing options...
Steve Giller Posted May 20, 2022 Share Posted May 20, 2022 You appear to have formatting within the variable - looking at the image the "empty" is in a different font/size. If you switch to Source Mode you will probably see that instead of {{.h_custom_c|empty}}{{.h_custom_d|empty}} there is something like {{.h_custom_c|<span style="font-family:Comic Sans MS,cursive;">empty</span>}}{{.h_custom_d|<span style="font-family:Comic Sans MS,cursive;">empty</span>}} and you'll need to edit out the markup. 1 Link to comment Share on other sites More sharing options...
QEHNick Posted May 23, 2022 Author Share Posted May 23, 2022 I thought it looked odd, I even tried to change the font size. your tip about the SOURCE looks just what I need to be doing. Cheers Steve. Link to comment Share on other sites More sharing options...
QEHNick Posted May 23, 2022 Author Share Posted May 23, 2022 It worked! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now