From e6b41111d798fe5f3f8426a7b4861c04a3733274 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 23 Jun 2009 17:02:49 -0700 Subject: [PATCH] ... --- src/calibre/ebooks/mobi/mobiml.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/ebooks/mobi/mobiml.py b/src/calibre/ebooks/mobi/mobiml.py index a2d999ffc8..04db679a6c 100644 --- a/src/calibre/ebooks/mobi/mobiml.py +++ b/src/calibre/ebooks/mobi/mobiml.py @@ -103,6 +103,7 @@ class MobiMLizer(object): self.oeb.manifest.remove(item) def mobimlize_spine(self): + 'Iterate over the spine and convert it to MOBIML' for item in self.oeb.spine: stylizer = Stylizer(item.data, item.href, self.oeb, self.profile) body = item.data.find(XHTML('body')) @@ -136,6 +137,7 @@ class MobiMLizer(object): return result def mobimlize_content(self, tag, text, bstate, istates): + 'Convert text content' if text or tag != 'br': bstate.content = True istate = istates[-1]