Hi, As formats are user enterable and can be passed via arguments, they are scrubbed. Search for "scrubber" in lib/RT/Interface/Web.pm .
On Tue, Nov 13, 2012 at 3:26 AM, Leo Gorauskas <goraus...@gmail.com> wrote: > I had a custom search format that added a class to the Priority display so I > can highlight it according to the priority number. After upgrading from > 4.0.1 to 4.0.8, I can no longer add classes or ids to any of the format > elements. > > Here is the original format entry that got changed: > > ' <b><a href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#', > '<div style="text-align: center;" > class="pri-__Priority__">__Priority__</div>', > '__Created__', > '<b><a > href="/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject', > '<a > href="/Ticket/Display.html?Action=Take&id=__id__">Take</a>/TITLE: > ' > > If I try and change it back, the class definition disappears when i click > apply. > > > How can I add a class or ID to an element within a search format? > > Thanks. > > > Leo. > -------- > We're hiring! http://bestpractical.com/jobs > -- Best regards, Ruslan. -------- We're hiring! http://bestpractical.com/jobs