When extracting body of a document in HTML source format (i.e. without pandoc conversion before display), use BeautifilSoup, which is more tolerant, instead of xml.dom.minidom, which crashes too often.
/*cm customization of markitup editor's look*/
.markItUpEditor, .markItUpPreviewFrame, .markItUpContainer {
border:1px solid #96D8A8;
}
.html .markItUpEditor, .markdown .markItUpEditor {
background-image:none;
}
.markItUpEditor {
padding:5px;
width:676px;
}
.markItUpContainer {
background-image:none;
}