[rt-users] Show HTML tables in tickets

Russell Jones russell at jonesmail.me
Tue Dec 11 13:27:18 EST 2012


Just bumping back up for a possible answer. Would be nice to get this 
working :)


On 12/6/2012 4:18 PM, Russell Jones wrote:
>> On 06.12.2012 15:37, Thomas Sibley wrote:
>>
>>
>>     On 12/06/2012 01:08 PM, Russell Jones wrote:
>>
>>         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;
>>
>>
>> Readable by apache? -------- We're hiring! http://bestpractical.com/jobs
>
>
> Yes:
>
>
> [root at hous0301 html]# ls -ld local
> drwxr-xr-x 7 apache apache 4096 Feb 8 2012 local
>
>
>
> [root at hous0301 local]# ll
> total 40
> drwxr-xr-x 2 apache apache 4096 Feb 8 2012 etc
> drwxr-xr-x 5 apache apache 4096 Jun 7 10:41 html
> drwxr-xr-x 3 apache apache 4096 Dec 6 10:59 lib
> drwxr-xr-x 2 apache apache 4096 Feb 8 2012 plugins
> drwxr-xr-x 2 apache apache 4096 Feb 8 2012 po
>
>
>
> [root at hous0301 local]# cd lib
> [root at hous0301 lib]# ll
> total 4
> drwxr-xr-x 3 apache apache 4096 Dec 6 10:59 RT
>
>
>
> [root at hous0301 RT]# ll
> total 4
> drwxr-xr-x 2 apache apache 4096 Dec 6 11:12 Interface
>
>
>
> [root at hous0301 Interface]# ll
> total 4
> -rw-r--r-- 1 apache apache 122 Dec 6 11:01 Web_Local.pm
>
>
>
>
>
> Here is the results from a test ticket where I created a table. The 
> "download with headers" shows that the table seems to be being made, 
> but when displayed on the page all "tableness" is lost and it becomes 
> just one long sentence. The "PreferRichText" setting is set to 1:
>
>
> PreferRichText     1     site config
>
>
>
>
>
> Here's the ticket source:
>
>> MIME-Version: 1.0
>>
>> In-Reply-To: <rt-4.0.5-31506-1354831176-1342.0-0-0@>
>> X-Mailer: MIME-tools 5.502 (Entity 5.502)
>> Content-Disposition: inline
>> References: <rt-4.0.5-31506-1354831176-1342.0-0-0@>
>> Content-Type: text/html; charset="UTF-8"
>> Message-ID: <rt-4.0.5-31506-1354831790-326.1003-0-0@>
>> Content-Transfer-Encoding: binary
>> X-RT-Original-Encoding: utf-8
>> RT-Send-CC:
>> X-RT-Encrypt: 0
>> X-RT-Sign: 0
>> Content-Length: 273
>>
>> <table border="1" cellpadding="1" cellspacing="1" style="width: 
>> 500px; ">
>>     <tbody>
>>         <tr>
>>             <td>
>>                 test1</td>
>>             <td>
>>                 a</td>
>>         </tr>
>>         <tr>
>>             <td>
>>                 test2</td>
>>             <td>
>>                 b</td>
>>         </tr>
>>         <tr>
>>             <td>
>>                 test3</td>
>>             <td>
>>                 c</td>
>>         </tr>
>>     </tbody>
>> </table>
>
>
>
>
>
>
>
>
> --------
> We're hiring! http://bestpractical.com/jobs
>




More information about the rt-users mailing list