Add support for MathML namespace

It doesn't actually work, though, which is weird, since SVG works just
fine using the same mechanism
print-window-tiddler
Jeremy Ruston 2013-08-31 11:15:50 +01:00
rodzic c4d7401f02
commit 83f85cad7d
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -51,7 +51,8 @@ var ElementRenderer = function(renderTree,parentRenderer,parseTreeNode) {
}
// Select the namespace for the tag
var tagNameSpaces = {
svg: "http://www.w3.org/2000/svg"
svg: "http://www.w3.org/2000/svg",
math: "http://www.w3.org/1998/Math/MathML"
};
this.namespace = tagNameSpaces[this.parseTreeNode.tag];
if(this.namespace) {