Skip to content

Commit eb7d59f

Browse files
authored
Merge pull request mathjax#280 from mathjax/issue268
v0.5.2
2 parents 83e67a2 + 2811aad commit eb7d59f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/mj-page.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,6 @@ function MakeIMG() {
792792
src:"data:image/svg+xml;base64,"+svg, style:{cssText:css},
793793
className: "MathJax_SVG_IMG",
794794
});
795-
SetWH(img,w,h); // work around jsdom bug with width and height CSS
796795
if (data.speakText) img.setAttribute("alt",MathJax.Hub.getJaxFor(nodes[i]).speech);
797796
nodes[i].parentNode.replaceChild(img,nodes[i]);
798797
}
@@ -831,7 +830,6 @@ function MakePNG() {
831830
src:"data:image/png;base64,"+buffer.toString('base64'),
832831
style:{cssText:css}, className: "MathJax_PNG_IMG",
833832
});
834-
SetWH(img,w,h); // work around jsdom bug with width and height CSS
835833
if (data.speakText) img.setAttribute("alt",MathJax.Hub.getJaxFor(nodes[i]).speech);
836834
nodes[i].parentNode.replaceChild(img,nodes[i]);
837835
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mathjax-node",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "API's for calling MathJax from node.js",
55
"keywords": [
66
"MathJax",

0 commit comments

Comments
 (0)