Subject: | Incorrect XHTML generated |
Date: | Wed, 27 Oct 2010 10:31:16 +0200 |
To: | bug-PPI-HTML [...] rt.cpan.org |
From: | Csaba Raduly <rcsaba [...] gmail.com> |
PPI::HTML 1.08
$ perl -v
This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int
(with 13 registered patches, see perl -V for more detail)
$ uname -a
10:22:50 $ uname -a
CYGWIN_NT-6.0 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin
I ran ppi2html on a Perl script. The generated HTML begins like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="robots" content="noarchive">
There are two warnings reported by HTML Tidy:
1. <meta> tags not closed, so the document is not well-formed XML.
Empty element tags are probably best.
2. There is no <title> tag. The input file name could be used as title.
These are both relatively minor nitpicks.
Thanks for listening,
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds