[rt-users] Inline screenshots

Florin Andrei florin at andrei.myip.org
Thu Jul 19 17:12:13 EDT 2012


On 07/19/2012 01:44 PM, Florin Andrei wrote:
>
> In RT4, I did this:
>
> --- Web.pm.old    2012-07-19 13:31:31.220050969 -0700
> +++ Web.pm    2012-07-19 13:32:10.034169941 -0700
> @@ -2867,7 +2867,7 @@
>       );
>       $scrubber->deny(qw[*]);
>       $scrubber->allow(
> -        qw[A B U P BR I HR BR SMALL EM FONT SPAN STRONG SUB SUP STRIKE
> H1 H2 H3 H4 H5 H6 DIV UL OL LI DL DT DD PRE BLOCKQUOTE]
> +        qw[A B U P BR I HR BR SMALL EM FONT SPAN STRONG SUB SUP STRIKE
> H1 H2 H3 H4 H5 H6 DIV UL OL LI DL DT DD PRE BLOCKQUOTE IMG SRC]
>       );
>       $scrubber->comment(0);
>
> But if I include a link to an image in a ticket, all I get is the URL
> displayed as text:
>
> http://www.site.com/image.jpg
>
> Does the message need to be formatted as HTML to begin with?

Oh wait, someone else sent an email from Outlook, formatted as HTML, and 
it does look like the image link is displayed online then. So I guess 
that's the requirement. RT4 won't display it inline if the original 
email was plain text (which makes sense, duh).

-- 
Florin Andrei
http://florin.myip.org/



More information about the rt-users mailing list