From 631d910c3dbce389638550c66ab2e6d847703687 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Wed, 22 Feb 2006 06:18:35 +0000 Subject: Patch for bug 313045: Display quoted text in a different color; patch by Olav Vitters , r=LpSolit, a=justdave. --- globals.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index 68299378b..9979008d1 100644 --- a/globals.pl +++ b/globals.pl @@ -529,6 +529,10 @@ sub quoteUrls { $text = html_quote($text); + # Color quoted text + $text =~ s~^(>.+)$~$1~mg; + $text =~ s~\n~\n~g; + # mailto: # Use | so that $1 is defined regardless $text =~ s~\b(mailto:|)?([\w\.\-\+\=]+\@[\w\-]+(?:\.[\w\-]+)+)\b -- cgit v1.2.3-24-g4f1b