00678: small html output bug
Summary: small html output bug
Created: 2006-02-28 15:23
Status: Closed - not a bug
Description:pmwiki.php, line 214:
$ImgTagFmt="<img src='\$LinkUrl' alt='\$LinkAlt' title='\$LinkAlt' />";
The slash just before line end appears in the generated html output and is thus a (harmless) bug.
XHTML requires the slash at the end of the <img> tag. See http://www.w3.org/TR/xhtml1/#h-4.6 and http://www.w3.org/TR/xhtml1/#C_2 .
Omitting the trailing slash in the <img> tag would be a bug. :-)
Sorry for the inconvenience. After opening this issue, I found numerous source lines with the slash. There I had to investigate better about this. --RJM