mirror of
https://github.com/alexadam/save-as-ebook.git
synced 2025-09-10 17:34:47 +00:00
misc
This commit is contained in:
parent
c1b85a6379
commit
d54cfe8ab7
3 changed files with 34 additions and 9 deletions
|
@ -157,9 +157,7 @@ function sanitize(rawContentString) {
|
|||
dirty = '<div>' + $wdirty.html() + '</div>';
|
||||
|
||||
////////////////
|
||||
return force(dirty);
|
||||
|
||||
if ($('*').length < maxNrOfElements) {
|
||||
if ($('*').length > maxNrOfElements) {
|
||||
return force(dirty);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue