Created
February 17, 2010 02:36
-
-
Save perlDreamer/306227 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/www/extras/yui-webgui/build/code-editor/code-editor.js b/www/extras/yui-webgui/build/code-editor/code-editor.js | |
index 955bdeb..5593f1c 100755 | |
--- a/www/extras/yui-webgui/build/code-editor/code-editor.js | |
+++ b/www/extras/yui-webgui/build/code-editor/code-editor.js | |
@@ -418,6 +418,7 @@ | |
// before <br> for IE8 so lines show up correctly | |
if ( this.browser.ie && this.browser.ie <= 8 ) { | |
+ alert("replace newlines for ie8"); | |
str = str.replace(/\r?\n/g, " <br>"); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment