aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorKoosha KM <koosha.khajeh@gmail.com>2014-08-28 17:17:54 +0000
committerDavid Lawrence <dkl@mozilla.com>2014-08-28 17:17:54 +0000
commitec5caa57cc14a328b8b994d49cb8def8eb95aea7 (patch)
tree08eec320a2361b41fcd400259770d6357a913e15 /t
parentBug 1056087 - contrib/merge-users.pl fails if there are no duplicate bug_user... (diff)
downloadbugzilla-ec5caa57cc14a328b8b994d49cb8def8eb95aea7.tar.gz
bugzilla-ec5caa57cc14a328b8b994d49cb8def8eb95aea7.tar.bz2
bugzilla-ec5caa57cc14a328b8b994d49cb8def8eb95aea7.zip
Bug 330707: Add optional support for MarkDown
r=dkl,a=sgreen
Diffstat (limited to 't')
-rw-r--r--t/004template.t1
-rw-r--r--t/008filter.t2
2 files changed, 2 insertions, 1 deletions
diff --git a/t/004template.t b/t/004template.t
index d38f9e16b..b0ca5a629 100644
--- a/t/004template.t
+++ b/t/004template.t
@@ -88,6 +88,7 @@ foreach my $include_path (@include_paths) {
wrap_comment => sub { return $_ },
none => sub { return $_ } ,
ics => [ sub { return sub { return $_; } }, 1] ,
+ markdown => sub { return $_ } ,
},
}
);
diff --git a/t/008filter.t b/t/008filter.t
index f0a26d13f..204bbdc43 100644
--- a/t/008filter.t
+++ b/t/008filter.t
@@ -212,7 +212,7 @@ sub directive_ok {
return 1 if $directive =~ /FILTER\ (html|csv|js|base64|css_class_quote|ics|
quoteUrls|time|uri|xml|lower|html_light|
obsolete|inactive|closed|unitconvert|
- txt|html_linebreak|none)\b/x;
+ txt|html_linebreak|markdown|none)\b/x;
return 0;
}