Skip to content

Commit 5baf7b5

Browse files
turbolentmarijnh
authored andcommitted
allow usage in XHTML documents:   not supported, use  
1 parent db0a7e6 commit 5baf7b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/codemirror.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var CodeMirror = (function() {
2828
'<textarea style="height: 1px; position: absolute;" wrap="off"></textarea></div>' +
2929
// Provides positioning relative to (visible) text origin
3030
'<div class="CodeMirror-lines"><div style="position: relative">' +
31-
'<pre class="CodeMirror-cursor">&nbsp;</pre>' + // Absolutely positioned blinky cursor
31+
'<pre class="CodeMirror-cursor">&#160;</pre>' + // Absolutely positioned blinky cursor
3232
'<div></div></div></div></div></div>'; // This DIV contains the actual code
3333
if (place.appendChild) place.appendChild(wrapper); else place(wrapper);
3434
// I've never seen more elegant code in my life.

0 commit comments

Comments
 (0)