File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments