61 |
$self->add_css( qq| pre.l a { text-decoration: none; } | ); |
$self->add_css( qq| pre.l a { text-decoration: none; } | ); |
62 |
$status = qq|<pre class="l">$status</pre>|; |
$status = qq|<pre class="l">$status</pre>|; |
63 |
$self->add_status( $status ); |
$self->add_status( $status ); |
64 |
|
warn "status_as_markup ",length($status)," bytes"; |
65 |
return $status; |
return $status; |
66 |
} |
} |
67 |
|
|
80 |
$diff =~ s{^(===\s+)(\S+)$}{$1<a name="$2">$2</a>}gm; |
$diff =~ s{^(===\s+)(\S+)$}{$1<a name="$2">$2</a>}gm; |
81 |
|
|
82 |
$diff = qq|<pre>$diff</pre>|; |
$diff = qq|<pre>$diff</pre>|; |
83 |
|
warn "diff_as_markup ",length($diff)," bytes"; |
84 |
return $diff; |
return $diff; |
85 |
} |
} |
86 |
|
|
93 |
} |
} |
94 |
|
|
95 |
my $html = $self->status_as_markup . $self->diff_as_markup; |
my $html = $self->status_as_markup . $self->diff_as_markup; |
96 |
warn "html ",length($html)," bytes"; |
warn "as_markup ",length($html)," bytes"; |
97 |
|
|
98 |
return $html; |
return $html; |
99 |
} |
} |