Thomas, that worked. Thanks.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 13, 2012 at 10:10 AM, Thomas Sibley <span dir="ltr"><<a href="mailto:trs@bestpractical.com" target="_blank">trs@bestpractical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 11/12/2012 03:26 PM, Leo Gorauskas wrote:<br>
> How can I add a class or ID to an element within a search format?<br>
<br>
</div>You'll need to adjust the allowed HTML attributes, but be aware of the<br>
potential security concerns (faking up transactions and other parts of<br>
the UI in arbitrary messages). Put the following in<br>
local/lib/RT/Interface/Web_Local.pm:<br>
<br>
package HTML::Mason::Commands;<br>
our %SCRUBBER_ALLOWED_ATTRIBUTES;<br>
$SCRUBBER_ALLOWED_ATTRIBUTES{'id'} = 1;<br>
$SCRUBBER_ALLOWED_ATTRIBUTES{'class'} = 1;<br>
1;<br>
<br>
Then clear the mason cache and restart RT.<br>
<div class="HOEnZb"><div class="h5">--------<br>
We're hiring! <a href="http://bestpractical.com/jobs" target="_blank">http://bestpractical.com/jobs</a><br>
</div></div></blockquote></div><br></div>