diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index 8e43a68a3e..4e27dac96d 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -67,12 +67,12 @@ class KOBO(USBMS): ' in the datbase. With this option Calibre will show the ' 'expired records and allow you to delete them with ' 'the new delete logic.'), - _('Show Previews') + + _('Show Previews') + ':::'+_('Kobo previews are included on the Touch and some other versions' ' by default they are no longer displayed as there is no good reason to ' 'see them. Enable if you wish to see/delete them.'), - _('Show Recommendations') + - ':::'+_('Kobo no shows recomendations on the device. In some case these have ' + _('Show Recommendations') + + ':::'+_('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. ' 'Enable if you wish to see/delete them.'), ] diff --git a/src/calibre/ebooks/oeb/parse_utils.py b/src/calibre/ebooks/oeb/parse_utils.py index 5b70574e13..d262a6782c 100644 --- a/src/calibre/ebooks/oeb/parse_utils.py +++ b/src/calibre/ebooks/oeb/parse_utils.py @@ -78,7 +78,7 @@ def node_depth(node): p = p.getparent() return ans -def html5_parse(data, max_nesting_depth=300): +def html5_parse(data, max_nesting_depth=100): import html5lib data = html5lib.parse(data, treebuilder='lxml').getroot()