Changeset 33668 for lang/perl/Pod-L10N
- Timestamp:
- 05/29/09 20:39:15 (4 years ago)
- Location:
- lang/perl/Pod-L10N/trunk
- Files:
-
- 44 added
- 1 modified
-
lib/Pod/L10N/Html.pm (modified) (5 diffs)
-
t/01_core.t (added)
-
t/die-end.pod (added)
-
t/die-unbal.pod (added)
-
t/f-basic.html (added)
-
t/f-head.html (added)
-
t/f-html.html (added)
-
t/f-html2.html (added)
-
t/f-root.html (added)
-
t/fragment.html (added)
-
t/fragment.pod (added)
-
t/fragwin.html (added)
-
t/fragwin.pod (added)
-
t/html (added)
-
t/html/f-html.html (added)
-
t/htmlescp.html (added)
-
t/htmlescp.pod (added)
-
t/htmllink.html (added)
-
t/htmllink.pod (added)
-
t/htmlviec.html (added)
-
t/htmlviei.html (added)
-
t/htmlview.html (added)
-
t/htmlview.pod (added)
-
t/noheadi.html (added)
-
t/noheads.html (added)
-
t/noheads.pod (added)
-
t/not-a-graphic.jpg (added)
-
t/notitle.pod (added)
-
t/notitle.txt (added)
-
t/rt-9385.html (added)
-
t/rt-9385.pod (added)
-
t/subdir (added)
-
t/subdir/Dummy.pm (added)
-
t/subdir/perlmore (added)
-
t/subdir/perlmore/perlutil.pod (added)
-
t/subdir/perlunicode.pod (added)
-
t/subdir/perlunifaq.pod (added)
-
t/subdir/perlunitut.pod (added)
-
t/torture.html (added)
-
t/torture.pod (added)
-
t/unclosed.pod (added)
-
t/xref.html (added)
-
t/xref.pod (added)
-
t/xreftodo.html (added)
-
t/xreftodo.pod (added)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Pod-L10N/trunk/lib/Pod/L10N/Html.pm
r33648 r33668 62 62 63 63 my $Encoding; 64 my $Encoding_Header; 64 65 65 66 _init_globals(); … … 116 117 $Is83 = $^O eq 'dos'; # Is it an 8.3 filesystem? 117 118 118 $Encoding = ' '; # encoding of pod119 $Encoding = 'utf-8'; # encoding of pod 119 120 } 120 121 … … 224 225 for (my $i = 0; $i < @poddata; $i++) { 225 226 if ($poddata[$i] =~ /^=head1\s*NAME\b/m) { 226 for my $para ( @poddata[$i+4, $i+ 4] ) {227 for my $para ( @poddata[$i+4, $i+1] ) { 227 228 last TITLE_SEARCH 228 229 if ($Title) = $para =~ /(\S+\s+-+.*\S)/s; … … 265 266 for (my $i = 0; $i < @poddata; $i++) { 266 267 if ($poddata[$i] =~ /^=encoding\s*([-_\w]*)/m) { 267 $Encoding = 268 '<meta http-equiv="content-type" content="text/html; charset=' . $1 . '" />'; 268 $Encoding = $1; 269 269 last; 270 270 } … … 285 285 <head> 286 286 <title>$Title</title>$csslink 287 $Encoding 287 <meta http-equiv="content-type" content="text/html; charset=$Encoding" /> 288 288 <link rev="made" href="mailto:$Config{perladmin}" /> 289 289 </head>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)