velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gonzalo Diethelm <gonzalo.dieth...@diethelm.org>
Subject Re: css in mail
Date Thu, 11 Oct 2007 19:28:57 GMT
Given that escaping in Velocity is the shortest path to madness, you
should rather use the old trick:


        #set $h = '#'
        ...
        {font-size: 100%; color: ${h}b73d3d; }


Best regards.

On Thu, 2007-10-11 at 12:22 -0700, Mark Stephens wrote:

> I tried putting it directly in the <head> tag and it showed up as plain text in
my inbox.
> 
> So how do I escape lines like:
> 
>  #fc_coop .message { font-size:110%; color:#b73d3d; }
> 
> in velocity?
> 


-- 
Gonzalo Diethelm
gonzalo.diethelm@diethelm.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message