mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-15 14:57:42 +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:
@@ -51,7 +51,8 @@ var ElementRenderer = function(renderTree,parentRenderer,parseTreeNode) {
|
|||||||
}
|
}
|
||||||
// Select the namespace for the tag
|
// Select the namespace for the tag
|
||||||
var tagNameSpaces = {
|
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];
|
this.namespace = tagNameSpaces[this.parseTreeNode.tag];
|
||||||
if(this.namespace) {
|
if(this.namespace) {
|
||||||
|
|||||||
Reference in New Issue
Block a user