marijnh/CodeMirror2 — pull request #704 by peterkroon (2012-08-07 00:04:52+00:00)
Title: Add setHTMLContent function -> fix Breakpoint demo

Add setHTMLContent function
```
function setHTMLContent(e, html) {
e.innerHTML = "";
if (firefox_lt8) {
e.innerHTML = html;
} else e.insertAdjacentHTML('AfterBegin',html);
}
```
Update createChild( + createElement( to handle html

Fixes [#703](https://github.com/marijnh/CodeMirror2/issues/703) Breakpoint demo