Fixing export with math
This commit is contained in:
parent
c8d2257f03
commit
57f8fb96f3
@ -233,7 +233,7 @@ define([
|
|||||||
_.each(previewContentsElt.children, function(elt) {
|
_.each(previewContentsElt.children, function(elt) {
|
||||||
if(!elt.exportableHtml) {
|
if(!elt.exportableHtml) {
|
||||||
var clonedElt = elt.cloneNode(true);
|
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.parentNode.removeChild(elt);
|
||||||
});
|
});
|
||||||
elt.exportableHtml = clonedElt.innerHTML;
|
elt.exportableHtml = clonedElt.innerHTML;
|
||||||
|
Loading…
Reference in New Issue
Block a user