We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a164ff2 commit f583c81Copy full SHA for f583c81
spec.html
@@ -132,8 +132,13 @@
132
// echidna doesn't allow mathml a
133
if (mclass.includes("mathmla")) {
134
m.innerHTML=m.innerHTML
135
- .replace(/a href="(.*)"/g,"mrow tabindex=\"0\" style=\"cursor:pointer\" onclick=\"document.location='$1'\"")
+ .replace(/<a/g,"<mrow")
136
.replace(/<\/a>/g, "</mrow>");
137
+ m.tabIndex=0
138
+ m.addEventListener("click", () => {
139
+ // just one example for now.
140
+ document.location="https://openmath.org/cd/transc1.html#arccsch";
141
+ });
142
}
143
var atext;
144
var aattrib=mmllist[i].getAttribute("alttext");
0 commit comments