update tests

This commit is contained in:
Alex Adam 2020-02-20 15:12:45 +02:00
parent 278f42d4c7
commit 8abb752520
6 changed files with 4 additions and 2 deletions

View file

@ -77,6 +77,7 @@ function extractMathMl($htmlObject) {
});
}
// tested
function extractCanvasToImg($htmlObject) {
$htmlObject.find('canvas').each(function (index, elem) {
var tmpXP = getXPath(elem);
@ -87,6 +88,7 @@ function extractCanvasToImg($htmlObject) {
});
}
// tested
function extractSvgToImg($htmlObject) {
var serializer = new XMLSerializer();
$htmlObject.find('svg').each(function (index, elem) {