diff --git a/mithril.js b/mithril.js index 093990bf..87176674 100644 --- a/mithril.js +++ b/mithril.js @@ -446,6 +446,11 @@ var coreRenderer = function($window) { var possibleParents = {caption: "table", thead: "table", tbody: "table", tfoot: "table", tr: "tbody", th: "tr", td: "tr", colgroup: "table", col: "colgroup"} function createHTML(parent, vnode, ns, nextSibling) { var match1 = vnode.children.match(/^\s*?<(\w+)/im) || [] + // not using the proper parent makes the child element(s) vanish. + // var div = document.createElement("div") + // div.innerHTML = "