mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Add support for MathML namespace
It doesn't actually work, though, which is weird, since SVG works just fine using the same mechanism
This commit is contained in:
parent
c4d7401f02
commit
83f85cad7d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user