pod2html output concerns
authorTony Cook <tony@develop-help.com>
Thu, 11 Jul 2013 07:03:44 +0000 (17:03 +1000)
committerTony Cook <tony@develop-help.com>
Fri, 19 Jul 2013 01:35:36 +0000 (11:35 +1000)
15 files changed:
ext/Pod-Html/lib/Pod/Html.pm
ext/Pod-Html/t/crossref.t
ext/Pod-Html/t/crossref2.t
ext/Pod-Html/t/crossref3.t
ext/Pod-Html/t/feature2.t
ext/Pod-Html/t/htmldir1.t
ext/Pod-Html/t/htmldir2.t
ext/Pod-Html/t/htmldir3.t
ext/Pod-Html/t/htmldir4.t
ext/Pod-Html/t/htmldir5.t
ext/Pod-Html/t/htmlescp.t
ext/Pod-Html/t/htmllink.t
ext/Pod-Html/t/htmlview.t
ext/Pod-Html/t/poderr.t
ext/Pod-Html/t/podnoerr.t

index 3feb812..4562b4b 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 require Exporter;
 
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
-$VERSION = 1.19;
+$VERSION = 1.20;
 @ISA = qw(Exporter);
 @EXPORT = qw(pod2html htmlify);
 @EXPORT_OK = qw(anchorify);
@@ -369,14 +369,12 @@ sub pod2html {
     my $bodyid = $Backlink ? ' id="_podtop_"' : '';
 
     my $csslink = '';
-    my $bodystyle = ' style="background-color: white"';
-    my $tdstyle = ' style="background-color: #cccccc"';
+    my $tdstyle = ' style="background-color: #cccccc; color: #000"';
 
     if ($Css) {
         $csslink = qq(\n<link rel="stylesheet" href="$Css" type="text/css" />);
         $csslink =~ s,\\,/,g;
         $csslink =~ s,(/.):,$1|,;
-        $bodystyle = '';
         $tdstyle= '';
     }
 
@@ -400,7 +398,7 @@ END_OF_BLOCK
 <link rev="made" href="mailto:$Config{perladmin}" />
 </head>
 
-<body$bodyid$bodystyle>
+<body$bodyid>
 $block
 HTMLHEAD
 
index 92837ac..30fa6d3 100644 (file)
@@ -40,7 +40,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>
 
 
 
index 8e18647..536cfbb 100644 (file)
@@ -36,7 +36,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>
 
 
 
index ff190f4..ab8f055 100644 (file)
@@ -36,7 +36,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>
 
 
 
index 920f310..0cc0072 100644 (file)
@@ -41,9 +41,9 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body id="_podtop_" style="background-color: white">
+<body id="_podtop_">
 <table border="0" width="100%" cellspacing="0" cellpadding="3">
-<tr><td class="_podblock_" style="background-color: #cccccc" valign="middle">
+<tr><td class="_podblock_" style="background-color: #cccccc; color: #000" valign="middle">
 <big><strong><span class="_podblock_">&nbsp;</span></strong></big>
 </td></tr>
 </table>
@@ -70,7 +70,7 @@ some html
 <p>some text and a link <a>crossref</a></p>
 
 <table border="0" width="100%" cellspacing="0" cellpadding="3">
-<tr><td class="_podblock_" style="background-color: #cccccc" valign="middle">
+<tr><td class="_podblock_" style="background-color: #cccccc; color: #000" valign="middle">
 <big><strong><span class="_podblock_">&nbsp;</span></strong></big>
 </td></tr>
 </table>
index 8dd2854..6a0857b 100644 (file)
@@ -57,7 +57,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>
 
 
 
index d1add48..d9aab5e 100644 (file)
@@ -44,7 +44,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>
 
 
 
index 184b5c6..8006bf0 100644 (file)
@@ -53,7 +53,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>
 
 
 
index 1ebcecd..31e7bde 100644 (file)
@@ -39,7 +39,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>
 
 
 
index d9b6a6b..820590f 100644 (file)
@@ -42,7 +42,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>
 
 
 
index 30c75b4..bb85e83 100644 (file)
@@ -19,7 +19,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>
 
 
 
index 9c26dbf..b13bf0c 100644 (file)
@@ -19,7 +19,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>
 
 
 
index 0fb36cf..792df93 100644 (file)
@@ -19,7 +19,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>
 
 
 
index 456810c..f83057e 100644 (file)
@@ -19,7 +19,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>
 
 
 
index cb74812..b49a3ac 100644 (file)
@@ -21,7 +21,7 @@ __DATA__
 <link rev="made" href="mailto:[PERLADMIN]" />
 </head>
 
-<body style="background-color: white">
+<body>