Don't need an xmlns:xlink on the math element
itex2MML puts one on the mrows that are hyperlinks.
This commit is contained in:
parent
47524a7104
commit
cb1fe51e84
|
@ -67,7 +67,6 @@ $(function() {
|
||||||
// make an AJAX request to the server, to get the MathML
|
// make an AJAX request to the server, to get the MathML
|
||||||
$.get('../../itex', {'tex': tex, 'display': 'inline'}, function(data){
|
$.get('../../itex', {'tex': tex, 'display': 'inline'}, function(data){
|
||||||
math.setAttributeNS(xmlnsns, 'xmlns', mathns);
|
math.setAttributeNS(xmlnsns, 'xmlns', mathns);
|
||||||
math.setAttributeNS(xmlnsns, 'xmlns:xlink', xlinkns);
|
|
||||||
math.setAttribute('display', 'inline');
|
math.setAttribute('display', 'inline');
|
||||||
var semantics = document.createElementNS(mathns, 'semantics');
|
var semantics = document.createElementNS(mathns, 'semantics');
|
||||||
var annotation = document.createElementNS(mathns, 'annotation');
|
var annotation = document.createElementNS(mathns, 'annotation');
|
||||||
|
|
Loading…
Reference in a new issue