[rt-users] Show HTML tables in tickets

Russell Jones russell at jonesmail.me
Thu Dec 6 16:08:49 EST 2012


 

On 06.12.2012 12:35, Thomas Sibley wrote: 

> On 12/06/2012 09:20
AM, Russell Jones wrote:
> 
>> Just ran into this issue as well - was
attempting to make a table using the built-in rich text editor. Submit
the ticket and the table is lost. I followed the page you provided Kevin
with no change in the behavior. I also cleared the mason cache just to
make sure but it still shows both my old tickets with the table gone, as
well as any new ones I make. Am I missing something on how to implement
this?
> 
> Show us the Web_Local.pm you created and the path you put it
at? Also,
> your RT version?
> --------
> We're hiring!
http://bestpractical.com/jobs [1]

Thanks for the help Thomas!

This is
on RT 4.0.5. RT is installed in /var/www/html on this box:


[root at hous0301 lib]# cd /var/www/html
[root at hous0301 html]# ls
-al
total 112
drwxr-xr-x 13 root root 4096 May 30 2012 .
drwxr-xr-x 7
root root 4096 May 30 2012 ..
drwxr-xr-x 2 apache apache 4096 May 30
2012 bin
drwxr-xr-x 4 apache apache 4096 May 2 2012 build
drwxr-xr-x 4
apache apache 4096 May 30 2012 docs
drwxr-xr-x 2 apache apache 4096 Jul
25 10:25 etc
-rw-r--r-- 1 apache apache 184 May 30 2012
.htaccess
drwxr-xr-x 3 apache apache 4096 May 30 2012 lib
drwxr-xr-x 7
apache apache 4096 Feb 8 2012 local
drwxr-xr-x 2 apache apache 4096 Apr
12 2012 logs
drwxr-xr-x 2 apache apache 4096 May 30 2012 sbin
drwxr-xr-x
2 apache apache 4096 Apr 12 2012 scripts
drwxr-xr-x 5 apache apache 4096
Feb 8 2012 share
drwxr-xr-x 6 apache apache 4096 Dec 6 11:51 var


Here's the Web_Local.pm: 

[root at hous0301 Interface]# pwd


/var/www/html/local/lib/RT/Interface 

[root at hous0301 Interface]# cat
Web_Local.pm
package HTML::Mason::Commands;
# Let tables through
push
@SCRUBBER_ALLOWED_TAGS, qw(TABLE THEAD TBODY TFOOT TR TD TH);
1; 



Links:
------
[1] http://bestpractical.com/jobs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20121206/6e3c7909/attachment.htm>


More information about the rt-users mailing list