replace this

$ret = '<script type="text/javascript" src="'.$path.'/track.php?mode=js"></script><noscript><img src="'.$path.'/track_noscript.php" border="0" alt="" width="1" height="1"></noscript>';

with this for xhtml

$ret = '<script type="text/javascript" src="'.$path.'/track.php?mode=js"></script><noscript><div style="display:inline;"><img src="'.$path.'/track_noscript.php" style="border:0;" alt="" width="1" height="1" /></div></noscript>';

or this for html

$ret = '<script type="text/javascript" src="'.$path.'/track.php?mode=js"></script><noscript><div style="display:inline;"><img src="'.$path.'/track_noscript.php" style="border:0;" alt="" width="1" height="1"></div></noscript>';

Comments

jochen wendebaum’s picture

Assigned: Unassigned » jochen wendebaum
Status: Active » Fixed

Thanks for the note, just commited this change, will be published with the next version!

jochen wendebaum’s picture

Status: Fixed » Closed (fixed)