From 1f5404213d4b93ef573e99112536ed5af6643770 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 28 Oct 2014 03:01:01 +0000 Subject: Bug 1059684: markdown text should not be rendered within a
 tag
 r=glob,a=glob

---
 skins/standard/global.css | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'skins/standard')

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;
 }
-- 
cgit v1.2.3-24-g4f1b