mirror of
https://github.com/alexadam/save-as-ebook.git
synced 2025-09-10 09:24:49 +00:00
update tests
This commit is contained in:
parent
8abb752520
commit
c39c62b8ec
3 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue