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 |
|
|
92 |
$self->TODO( "Frey::Web role missing" ); |
$self->TODO( "Frey::Web role missing" ); |
93 |
} |
} |
94 |
|
|
95 |
my $html = $self->status_as_markup . $self->diff_as_markup; |
my $html |
96 |
warn "html ",length($html)," bytes"; |
= ( $self->status_as_markup || $self->error('no status_or_markup output') ) |
97 |
|
. ( $self->diff_as_markup || $self->error('no diff_as_markup output') ) |
98 |
|
; |
99 |
|
warn "as_markup ",length($html)," bytes"; |
100 |
|
|
101 |
return $html; |
return $html; |
102 |
} |
} |