[rt-users] Including CSS on template - RT

Alex Vandiver alexmv at bestpractical.com
Wed Apr 29 16:41:57 EDT 2015


On Wed, 29 Apr 2015 17:41:34 -0300 Murillo Azambuja Gonçalves
<murillo at ifi.unicamp.br> wrote:
> Hello,

Please do not cross-post your question to both rt-users and rt-devel.
rt-users is the appropriate venue for this question.

> [snip]
> But the template accuses an error when I use CSS:

This is because templates use { and } to delimit code that should be
run as perl.  As such, you'll need to escape your brace characters;
either use:

   a \{
       text-decoration: none;
       color: inherit;
   \}

...or:

   a {q{{
       text-decoration: none;
       color: inherit;
   }}}

 - Alex



More information about the rt-users mailing list