From 57f8fb96f38c51e7616473f44e17f0c51fc1cec3 Mon Sep 17 00:00:00 2001 From: benweet Date: Tue, 1 Mar 2016 00:38:52 +0000 Subject: [PATCH] Fixing export with math --- public/res/eventMgr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/res/eventMgr.js b/public/res/eventMgr.js index 7b124dce..6b3a2cc6 100644 --- a/public/res/eventMgr.js +++ b/public/res/eventMgr.js @@ -233,7 +233,7 @@ define([ _.each(previewContentsElt.children, function(elt) { if(!elt.exportableHtml) { var clonedElt = elt.cloneNode(true); - _.each(clonedElt.querySelectorAll('.MathJax, .MathJax_Display, .MathJax_Preview'), function(elt) { + _.each(clonedElt.querySelectorAll('.MathJax_SVG, .MathJax_SVG_Display, .MathJax_Preview'), function(elt) { elt.parentNode.removeChild(elt); }); elt.exportableHtml = clonedElt.innerHTML;