update tests

This commit is contained in:
Alex Adam 2020-02-20 16:02:01 +02:00
parent 8abb752520
commit c39c62b8ec
3 changed files with 3 additions and 1 deletions

View file

@ -71,6 +71,7 @@ function formatPreCodeElements($jQueryElement) {
});
}
// tested
function extractMathMl($htmlObject) {
$htmlObject.find('span[id^="MathJax-Element-"]').each(function (i, el) {
$(el).replaceWith('<span>' + el.getAttribute('data-mathml') + '</span>');
@ -78,6 +79,7 @@ function extractMathMl($htmlObject) {
}
// tested
// TODO
function extractCanvasToImg($htmlObject) {
$htmlObject.find('canvas').each(function (index, elem) {
var tmpXP = getXPath(elem);