P
pdpi
I have a curious problem.
I'm using the following code to create a validation link for the XHTML
I'm generating:
print $cgi->a({href=>'http://validator.w3.org/check?uri=referer'},
$cgi->img({src=>'http://www.w3.org/Icons/valid-xhtml10',
alt=>'Valid XHTML 1.0 Strict', height=>31,
width=>88}));
which works all nice and fine, and the XHTML passes with flying
colours.
Except that the XHTML CGI.pm generates is pretty unreadable, so figured
adding a little
use CGI:retty;
to it would be grand. But if I put that there, all of a sudden the
<img> tag on that anchor there stops having a proper closing tag.
Or, more accurately, instead of <img stuff=here />, the program now
outputs <img stuff=here >, thus not closing the tag. Can anyone help?
The documentation of CGI:retty sure didn't, and googling clpmisc for
CGI:retty validation,
CGI:retty problems
and other variations didn't give any hints.
I'm using the following code to create a validation link for the XHTML
I'm generating:
print $cgi->a({href=>'http://validator.w3.org/check?uri=referer'},
$cgi->img({src=>'http://www.w3.org/Icons/valid-xhtml10',
alt=>'Valid XHTML 1.0 Strict', height=>31,
width=>88}));
which works all nice and fine, and the XHTML passes with flying
colours.
Except that the XHTML CGI.pm generates is pretty unreadable, so figured
adding a little
use CGI:retty;
to it would be grand. But if I put that there, all of a sudden the
<img> tag on that anchor there stops having a proper closing tag.
Or, more accurately, instead of <img stuff=here />, the program now
outputs <img stuff=here >, thus not closing the tag. Can anyone help?
The documentation of CGI:retty sure didn't, and googling clpmisc for
CGI:retty validation,
CGI:retty problems
and other variations didn't give any hints.