瀏覽代碼

make messages appear as pre-formatted text

Michael van Elst 23 年之前
父節點
當前提交
7fedabdbfe
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      rt/rt.patch

+ 14 - 0
rt/rt.patch

@@ -9,3 +9,17 @@
      }
      return ($email);
  }
+--- html/Ticket/Elements/ShowMessageStanza.dist	Wed Apr  2 15:28:24 2003
++++ html/Ticket/Elements/ShowMessageStanza	Wed Apr  2 15:28:44 2003
+@@ -32,10 +32,9 @@
+         my $content = $stanza->{raw};
+         RT::Interface::Web::EscapeUTF8(\$content);
+         $m->comp('/Elements/Callback', content => \$content, %ARGS);
+-                $content =~ s/\n/<br>/gi;
+ 
+ </%perl>
+-<font color="<%$colors[$Depth]%>"><%$content |n%><br></font>
++<font color="<%$colors[$Depth]%>"><pre><%$content |n%></pre><br></font>
+ %       }
+ % }
+ <%INIT>