зеркало из https://github.com/mozilla/pjs.git
Patch for bug 313045: Display quoted text in a different color; patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org>, r=LpSolit, a=justdave.
This commit is contained in:
Родитель
509c0fba2f
Коммит
2b4abae4a4
|
@ -529,6 +529,10 @@ sub quoteUrls {
|
|||
|
||||
$text = html_quote($text);
|
||||
|
||||
# Color quoted text
|
||||
$text =~ s~^(>.+)$~<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; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче