Commit 631d910c authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 313045: Display quoted text in a different color; patch by Olav…

Patch for bug 313045: Display quoted text in a different color; patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org>, r=LpSolit, a=justdave.
parent 34159623
......@@ -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
......
......@@ -336,4 +336,8 @@ td.tab.spacer
background: white;
}
span.quote {
color: #65379c;
}
table#flags th, table#flags td { vertical-align: baseline; text-align: left; }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment