Commit 0f01ca16 authored by Albert Ting's avatar Albert Ting Committed by Byron Jones

Bug 1139150: Support wrapping quoted comments in MarkDown

r=glob,a=glob
parent 6638a015
...@@ -409,7 +409,7 @@ sub _DoBlockQuotes { ...@@ -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;
......
...@@ -418,6 +418,17 @@ pre.bz_comment_text, .uneditable_textarea, tbody.file pre { ...@@ -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
......
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