summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl4
1 files changed, 4 insertions, 0 deletions
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~^(&gt;.+)$~<span class="quote">$1</span >~mg;
+ $text =~ s~</span >\n<span class="quote">~\n~g;
+
# mailto:
# Use |<nothing> so that $1 is defined regardless
$text =~ s~\b(mailto:|)?([\w\.\-\+\=]+\@[\w\-]+(?:\.[\w\-]+)+)\b