Skip to content

Commit cfd2c09

Browse files
committed
Better mathml handling.
1 parent 86376ee commit cfd2c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/v3-lab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const Lab = window.Lab = {
165165
}
166166
input = input.trim();
167167
if (!input.match(/^<math/)) {
168-
input = '<math>' + input;
168+
input = '<math xmlns="http://www.w3.org/1998/Math/MathML">' + input;
169169
}
170170
if (!input.match(/\/math>$/)) {
171171
input += '</math>';

0 commit comments

Comments
 (0)