Bug 1139150: Support wrapping quoted comments in MarkDown

r=glob,a=glob


git-svn-id: svn://10.0.0.236/trunk@265886 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2015-03-19 08:00:48 +00:00
parent aeeefad863
commit 4e8be14b27
4 changed files with 14 additions and 3 deletions

View File

@ -1 +1 @@
9341 9342

View File

@ -1 +1 @@
6638a015487885a47bb0ba851865ef8b073d08fb 0f01ca16e49a2b7b73778a11c4d03b5dd33b0099

View File

@ -409,7 +409,7 @@ sub _DoBlockQuotes {
$pre =~ s/^ //mg; $pre =~ s/^ //mg;
$pre; $pre;
}egs; }egs;
"<blockquote>\n$bq\n</blockquote>\n\n"; "<blockquote class=\"markdown\">\n$bq\n</blockquote>\n\n";
}egmx; }egmx;
return $text; return $text;

View File

@ -418,6 +418,17 @@ pre.bz_comment_text, .uneditable_textarea, tbody.file pre {
/** End Comments **/ /** End Comments **/
/** Markdown **/
blockquote.markdown {
border-left: 0.2em solid #CCC;
color: #65379C;
padding: 0 1em;
margin-left: 0.5em;
margin-bottom: 0em;
white-space: normal;
}
/** End Markdown **/
.bz_default_hidden, .bz_tui_hidden, .bz_hidden_field, .bz_hidden_option { .bz_default_hidden, .bz_tui_hidden, .bz_hidden_field, .bz_hidden_option {
/* We have !important because we want elements with these classes to always /* We have !important because we want elements with these classes to always
* be hidden, even if there is some CSS that overrides it (we use these * be hidden, even if there is some CSS that overrides it (we use these