perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r293261 - /perl/modperl/docs/trunk/lib/DocSet/Doc/POD2HTMLPS.pm
Date Mon, 03 Oct 2005 06:18:52 GMT
Author: stas
Date: Sun Oct  2 23:18:50 2005
New Revision: 293261

URL: http://svn.apache.org/viewcvs?rev=293261&view=rev
Log:
fix the =headX I<foo> rendering bug (the POD markup of the header wasn't getting converted
into html) 

Modified:
    perl/modperl/docs/trunk/lib/DocSet/Doc/POD2HTMLPS.pm

Modified: perl/modperl/docs/trunk/lib/DocSet/Doc/POD2HTMLPS.pm
URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/lib/DocSet/Doc/POD2HTMLPS.pm?rev=293261&r1=293260&r2=293261&view=diff
==============================================================================
--- perl/modperl/docs/trunk/lib/DocSet/Doc/POD2HTMLPS.pm (original)
+++ perl/modperl/docs/trunk/lib/DocSet/Doc/POD2HTMLPS.pm Sun Oct  2 23:18:50 2005
@@ -97,25 +97,25 @@
 
 sub view_head1 {
     my ($self, $head1) = @_;
-    return "<h2>" . $head1->title . "</h2>\n\n" .
+    return "<h2>" . $head1->title->present($self) . "</h2>\n\n" .
         $head1->content->present($self);
 }
 
 sub view_head2 {
     my ($self, $head2) = @_;
-    return "<h3>" . $head2->title . "</h3>\n\n" .
+    return "<h3>" . $head2->title->present($self) . "</h3>\n\n" .
         $head2->content->present($self);
 }
 
 sub view_head3 {
     my ($self, $head3) = @_;
-    return "<h4>" . $head3->title . "</h4>\n\n" .
+    return "<h4>" . $head3->title->present($self) . "</h4>\n\n" .
         $head3->content->present($self);
 }
 
 sub view_head4 {
     my ($self, $head4) = @_;
-    return "<h5>" . $head4->title . "</h5>\n\n" .
+    return "<h5>" . $head4->title->present($self) . "</h5>\n\n" .
         $head4->content->present($self);
 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


Mime
View raw message