aboutsummaryrefslogtreecommitdiffstats
path: root/skins
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-10-28 03:03:39 +0000
committerDavid Lawrence <dkl@mozilla.com>2014-10-28 03:03:39 +0000
commit3eb1f9f9c91fb630090420a8c726091f23c29263 (patch)
treec0d1aa40f6424eaf3c8020ea6805ea6c5d66a2c5 /skins
parentbacbb85f219ef5924633672e61491a63ebb6f50a (diff)
downloadbugs-3eb1f9f9c91fb630090420a8c726091f23c29263.tar
bugs-3eb1f9f9c91fb630090420a8c726091f23c29263.tar.gz
bugs-3eb1f9f9c91fb630090420a8c726091f23c29263.tar.bz2
bugs-3eb1f9f9c91fb630090420a8c726091f23c29263.tar.xz
bugs-3eb1f9f9c91fb630090420a8c726091f23c29263.zip
Bug 1059684 - markdown text should not be rendered within a <pre> tag
r=glob,a=glob
Diffstat (limited to 'skins')
-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;
}