mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
55e5bc8614
commit
19d5daae8e
@ -72,7 +72,7 @@ class KOBO(USBMS):
|
|||||||
' by default they are no longer displayed as there is no good reason to '
|
' by default they are no longer displayed as there is no good reason to '
|
||||||
'see them. Enable if you wish to see/delete them.'),
|
'see them. Enable if you wish to see/delete them.'),
|
||||||
_('Show Recommendations') +
|
_('Show Recommendations') +
|
||||||
':::'+_('Kobo no shows recomendations on the device. In some case these have '
|
':::'+_('Kobo now shows recommendations on the device. In some case these have '
|
||||||
'files but in other cases they are just pointers to the web site to buy. '
|
'files but in other cases they are just pointers to the web site to buy. '
|
||||||
'Enable if you wish to see/delete them.'),
|
'Enable if you wish to see/delete them.'),
|
||||||
]
|
]
|
||||||
|
@ -78,7 +78,7 @@ def node_depth(node):
|
|||||||
p = p.getparent()
|
p = p.getparent()
|
||||||
return ans
|
return ans
|
||||||
|
|
||||||
def html5_parse(data, max_nesting_depth=300):
|
def html5_parse(data, max_nesting_depth=100):
|
||||||
import html5lib
|
import html5lib
|
||||||
data = html5lib.parse(data, treebuilder='lxml').getroot()
|
data = html5lib.parse(data, treebuilder='lxml').getroot()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user