Thomas, that worked. Thanks.

On Tue, Nov 13, 2012 at 10:10 AM, Thomas Sibley <t...@bestpractical.com>wrote:

> On 11/12/2012 03:26 PM, Leo Gorauskas wrote:
> > How can I add a class or ID to an element within a search format?
>
> You'll need to adjust the allowed HTML attributes, but be aware of the
> potential security concerns (faking up transactions and other parts of
> the UI in arbitrary messages).  Put the following in
> local/lib/RT/Interface/Web_Local.pm:
>
>     package HTML::Mason::Commands;
>     our %SCRUBBER_ALLOWED_ATTRIBUTES;
>     $SCRUBBER_ALLOWED_ATTRIBUTES{'id'}    = 1;
>     $SCRUBBER_ALLOWED_ATTRIBUTES{'class'} = 1;
>     1;
>
> Then clear the mason cache and restart RT.
> --------
> We're hiring! http://bestpractical.com/jobs
>
--------
We're hiring! http://bestpractical.com/jobs

Reply via email to