[Rt-commit] rt branch, 4.0/html-docs, created. rt-4.0.9-15-gd9f90ff

Thomas Sibley trs at bestpractical.com
Wed Jan 23 19:08:10 EST 2013


The branch, 4.0/html-docs has been created
        at  d9f90ffa9d756112fea5fbbea78a7f40299ff009 (commit)

- Log -----------------------------------------------------------------
commit d9f90ffa9d756112fea5fbbea78a7f40299ff009
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Jan 23 15:21:42 2013 -0800

    Stop overriding verbatim/code handling and just deal with defaults
    
    Newer Pod::Simple::XHTML versions have changed verbatim/code handling
    and it's easier to simply stick with the default behaviour.  We can
    style the defaults as we wish with CSS.

diff --git a/lib/RT/Pod/HTML.pm b/lib/RT/Pod/HTML.pm
index b0c4e30..d6ca5d5 100644
--- a/lib/RT/Pod/HTML.pm
+++ b/lib/RT/Pod/HTML.pm
@@ -68,9 +68,6 @@ sub html_footer {
     return '<a href="./' . $toc . '">← Back to index</a>';
 }
 
-sub start_Verbatim { $_[0]{'scratch'} = "<pre>" }
-sub end_Verbatim   { $_[0]{'scratch'} .= "</pre>"; $_[0]->emit; }
-
 sub _end_head {
     my $self = shift;
     $self->{scratch} = '<a href="#___top">' . $self->{scratch} . '</a>';

-----------------------------------------------------------------------


More information about the Rt-commit mailing list