summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorAlbert Ting <altlist@gmail.com>2016-01-02 22:20:22 +0100
committerDylan Hardison <dylan@mozilla.com>2016-01-02 22:21:04 +0100
commit8f405c09b2ef1db943aaea9201785d93cd35f86e (patch)
tree41de3a0f1df48d48a27a77f3d2520b02768d47b7 /Bugzilla/Template.pm
parent85ca54b444cb0da4d83e23f0235b6a6f31858119 (diff)
downloadbugzilla-8f405c09b2ef1db943aaea9201785d93cd35f86e.tar.gz
bugzilla-8f405c09b2ef1db943aaea9201785d93cd35f86e.tar.xz
Bug 688205 - quoted text inside comments should wrap
r=dylan,a=dylan
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 9398ca4b5..3cbff4733 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -972,6 +972,13 @@ sub create {
return sub { wrap_comment($_[0], $cols) }
}, 1],
+ # Wrap cited text
+ wrap_cite => [
+ sub {
+ my ($context, $cols) = @_;
+ return sub { wrap_cite($_[0], $cols) }
+ }, 1],
+
# We force filtering of every variable in key security-critical
# places; we have a none filter for people to use when they
# really, really don't want a variable to be changed.