Skip Menu |

This queue is for tickets about the MIME-Lite-HTML CPAN distribution.

Report information
The Basics
Id: 45394
Status: new
Priority: 0/
Queue: MIME-Lite-HTML

People
Owner: Nobody in particular
Requestors: f.gouverne [...] casema.nl
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



When there is a link to an external stylesheet as follows: <HTML> <HEAD> <LINK media=print href="http://www.domain.com/print.css" type=text/css rel=stylesheet> </HEAD> <BODY>content</BODY></HTML> and this external style sheet "print.css" does not exist, MIME-Lite-HTML generates the following output: <HTML> <HEAD> <style type="text/css"> </HEAD> <BODY>content</BODY></HTML> Because there is no closing </style> tag, the complete content will not be visible anymore in many email clients.
From: f.gouverne [...] casema.nl
To fix, replace the return statement inside sub include_css: [...] my $err = "Looking for css to include: '" . $ur . "' was not successful - removing from message and ignoring"; $self->set_err($err); carp $err; #to fix bug #45394: #return '<style type="text/css">'; return ''; [etc]