diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-08-14 14:28:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 14:28:31 +0200 |
commit | ec87e5310ad038abe4b2b329897638d866bf549a (patch) | |
tree | 08a5486b897f5321a4aafd04f1afbec19ca597d9 /t | |
parent | ea5beeacb185309572836cc60989f95ea4705f9d (diff) | |
download | bugzilla-ec87e5310ad038abe4b2b329897638d866bf549a.tar.gz bugzilla-ec87e5310ad038abe4b2b329897638d866bf549a.tar.xz |
Revert "Bug 1456878 - Support markdown comments"
This reverts commit fd850e00db835d2b84c59014c3b1021fea2294fc.
Diffstat (limited to 't')
-rw-r--r-- | t/004template.t | 2 | ||||
-rw-r--r-- | t/008filter.t | 2 | ||||
-rw-r--r-- | t/bmo/comments.t | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/t/004template.t b/t/004template.t index 8b063a366..909f1a231 100644 --- a/t/004template.t +++ b/t/004template.t @@ -76,7 +76,7 @@ foreach my $include_path (@include_paths) { url_quote => sub { return $_ } , css_class_quote => sub { return $_ } , xml => sub { return $_ } , - renderComment => sub { return $_ } , + quoteUrls => sub { return $_ } , bug_link => [ sub { return sub { return $_; } }, 1] , csv => sub { return $_ } , unitconvert => sub { return $_ }, diff --git a/t/008filter.t b/t/008filter.t index 050cf1ef3..443fb2b4f 100644 --- a/t/008filter.t +++ b/t/008filter.t @@ -214,7 +214,7 @@ sub directive_ok { # Note: If a single directive prints two things, and only one is # filtered, we may not catch that case. return 1 if $directive =~ /FILTER\ (html|csv|js|base64|css_class_quote|ics| - renderComment|time|uri|xml|lower|html_light| + quoteUrls|time|uri|xml|lower|html_light| obsolete|inactive|closed|unitconvert| txt|html_linebreak|none|json|null|id| markdown)\b/x; diff --git a/t/bmo/comments.t b/t/bmo/comments.t index f4064a7fc..4b0bb8177 100644 --- a/t/bmo/comments.t +++ b/t/bmo/comments.t @@ -61,7 +61,7 @@ my $bug_2 = Bugzilla::Bug->create( my $bug_2_id = $bug_2->id; -Bugzilla::Template::renderComment( +Bugzilla::Template::quoteUrls( $bug_2->comments->[0]->body, undef, undef, undef, sub { my $bug_id = $_[0]; |