marijnh/CodeMirror2 — pull request #705 by peterkroon (2012-08-07 00:34:07+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);
}
```
Updated createChild( + createElement( to handle html

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