summaryrefslogtreecommitdiffstats
path: root/skins/standard
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-10-28 04:01:01 +0100
committerDavid Lawrence <dkl@mozilla.com>2014-10-28 04:01:01 +0100
commit1f5404213d4b93ef573e99112536ed5af6643770 (patch)
tree754731f5b78b85a71a35b700bfb28ce020342c3d /skins/standard
parent2fbc1045f5b8e82d9a68328c35ba07d70d9d1877 (diff)
downloadbugzilla-1f5404213d4b93ef573e99112536ed5af6643770.tar.gz
bugzilla-1f5404213d4b93ef573e99112536ed5af6643770.tar.xz
Bug 1059684: markdown text should not be rendered within a <pre> tag
r=glob,a=glob
Diffstat (limited to 'skins/standard')
-rw-r--r--skins/standard/global.css6
1 files changed, 5 insertions, 1 deletions
diff --git a/skins/standard/global.css b/skins/standard/global.css
index 28c406b1d..60e06af73 100644
--- a/skins/standard/global.css
+++ b/skins/standard/global.css
@@ -319,7 +319,7 @@ div#docslinks {
}
/* tbody.file pre is for the Diff view of attachments. */
-.bz_comment_text, .uneditable_textarea, tbody.file pre {
+pre.bz_comment_text, .uneditable_textarea, tbody.file pre {
font-family: monospace;
white-space: pre-wrap;
}
@@ -732,6 +732,10 @@ input.required, select.required, span.required_explanation {
width: auto;
}
+.comment_preview_pre {
+ white-space: pre;
+}
+
#comment_preview_loading {
font-style: italic;
}