[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] background images in td, Q for Racke?
On Thu, 7 Mar 2002, Paul Jordan wrote:
> It seems to me that even with 4.8.3 this patch has not made its way in. I
> found it in the archives, in a thred that I believe may havebeen solved by
> Racke.
[snip]
> diff -u -r1.29.4.3 -r1.29.4.4
> --- Interpolate.pm 2000/10/20 10:18:42 1.29.4.3
> +++ Interpolate.pm 2000/10/27 19:05:23 1.29.4.4
> @@ -401,6 +401,9 @@
> $1 . $dir . $2#ige;
> $$text =~ s#(<body\s+[^>]*?background=")(?!https?:)([^/][^"]+)#
> $1 . $dir . $2#ige;
> + $$text =~ s#(<t[dhr]\s+[^>]*?background=")(?!https?:)([^/][^"]+)#
> + $1 . $dir . $2#ige
> + if $Vend::Cfg->{Pragma}{substitute_table_image};
> }
> if($Vend::Cfg->{ImageAlias}) {
> for (keys %{$Vend::Cfg->{ImageAlias}} ) {
This patch, and minor improvements upon it, are already in 4.8.x.
> and add the following to your catalog.cfg:
>
> # Handles background attributes similar to <IMG SRC>
> Pragma substitute_table_image
That is no longer needed; images are substituted by default.
Something else must be wrong. It will help to know what is in your
variable and what shows up in the output.
Jon