- fix bug # markup in html filter

- display timestamp for comments


git-svn-id: svn://10.0.0.236/trunk@253678 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ccooper%deadsquid.com 2008-08-18 19:33:22 +00:00
parent 063c239c02
commit 1545933c94
2 changed files with 3 additions and 2 deletions

View File

@ -157,7 +157,7 @@ sub create {
html => sub {
my ($data) = @_;
my $filtered = &Template::Filters::html_filter($data);
$filtered =~ s/(bug)\s+(\d+)/<a target=\'external_link\' href=\'${Litmus::Config::local_bug_url}\'$2\'>$1 $2<\/a>/ig;
$filtered =~ s/(bug)\s+(\d+)/<a target=\'external_link\' href=\'${Litmus::Config::local_bug_url}$2\'>$1 $2<\/a>/ig;
$filtered =~ s/(testcase|test)\s+(\d+)/<a target=\'external_link\' href=\'show_test.cgi?id=$2\'>$1 $2<\/a>/ig;
return $filtered;

View File

@ -234,7 +234,8 @@ You must log in before you can leave comments.
[% ELSE %]
Anonymous
[% END %]
[% comment.submission_time.strftime("%Y-%m-%d %T %Z") | html %] -------</em></p>
at [% comment.submission_time | html %] -------</em></p>
<p>[% comment.comment | html %]</p>