From: Albert Ting Date: Thu, 19 Mar 2015 07:39:53 +0000 (+0800) Subject: Bug 1139150: Support wrapping quoted comments in MarkDown X-Git-Tag: release-5.1.1~323 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f01ca16e49a2b7b73778a11c4d03b5dd33b0099;p=thirdparty%2Fbugzilla.git Bug 1139150: Support wrapping quoted comments in MarkDown r=glob,a=glob --- diff --git a/Bugzilla/Markdown.pm b/Bugzilla/Markdown.pm index e9b0d1a17a..7b5d475f82 100644 --- a/Bugzilla/Markdown.pm +++ b/Bugzilla/Markdown.pm @@ -409,7 +409,7 @@ sub _DoBlockQuotes { $pre =~ s/^ //mg; $pre; }egs; - "
\n$bq\n
\n\n"; + "
\n$bq\n
\n\n"; }egmx; return $text; diff --git a/skins/standard/global.css b/skins/standard/global.css index 6e3b41fd75..3941808bec 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -418,6 +418,17 @@ pre.bz_comment_text, .uneditable_textarea, tbody.file pre { /** 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 { /* 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