Skip to content

Commit

Permalink
allow usage in XHTML documents:   not supported, use  
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent authored and marijnh committed Mar 12, 2011
1 parent db0a7e6 commit 5baf7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/codemirror.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var CodeMirror = (function() {
'<textarea style="height: 1px; position: absolute;" wrap="off"></textarea></div>' +
// Provides positioning relative to (visible) text origin
'<div class="CodeMirror-lines"><div style="position: relative">' +
'<pre class="CodeMirror-cursor">&nbsp;</pre>' + // Absolutely positioned blinky cursor
'<pre class="CodeMirror-cursor">&#160;</pre>' + // Absolutely positioned blinky cursor
'<div></div></div></div></div></div>'; // This DIV contains the actual code
if (place.appendChild) place.appendChild(wrapper); else place(wrapper);
// I've never seen more elegant code in my life.
Expand Down

0 comments on commit 5baf7b5

Please sign in to comment.