- 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:
parent
063c239c02
commit
1545933c94
@ -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;
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user