From 6f955c596fc5c9063e4c7da5c5f61932dcfa4066 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 27 Dec 2011 00:47:45 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/oeb/parse_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/oeb/parse_utils.py b/src/calibre/ebooks/oeb/parse_utils.py index af0eb479f0..5b70574e13 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=500): +def html5_parse(data, max_nesting_depth=300): import html5lib data = html5lib.parse(data, treebuilder='lxml').getroot()