From 0a9c63141047beae0475747ca6e173f852f4642b Mon Sep 17 00:00:00 2001 From: John McLear Date: Fri, 1 May 2015 20:44:36 +0100 Subject: better fix for #2625 --- src/static/css/iframe_editor.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/static/css') diff --git a/src/static/css/iframe_editor.css b/src/static/css/iframe_editor.css index b7ece1e6..2824a10a 100644 --- a/src/static/css/iframe_editor.css +++ b/src/static/css/iframe_editor.css @@ -113,7 +113,11 @@ body.doesWrap { word-wrap: break-word; /* fix for issue #1648 - firefox not wrapping long lines (without spaces) correctly */ } -body.doesWrap > div{ +.noprewrap{ + white-space: normal; +} + +body.doesWrap:not(.noprewrap) > div{ /* Related to #1766 */ white-space: pre-wrap; } -- cgit v1.2.3