From 3216eccce77d792da3ab980cd44f43b23fb2dde5 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sat, 12 Dec 2009 21:03:07 -0500 Subject: [PATCH] Add Todo to FB2MLizer. --- src/calibre/ebooks/fb2/fb2ml.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/fb2/fb2ml.py b/src/calibre/ebooks/fb2/fb2ml.py index b454d7c7ab..1c0e5c10be 100644 --- a/src/calibre/ebooks/fb2/fb2ml.py +++ b/src/calibre/ebooks/fb2/fb2ml.py @@ -54,6 +54,13 @@ STYLES = [ ] class FB2MLizer(object): + ''' + Todo: * Ensure all style tags are inside of the p tags. + * Include more FB2 specific tags in the conversion. + * Handle reopening of a tag properly. + * Figure out some way to turn oeb_book.toc items into
+ <p> to allow for readers to generate toc from the document. + ''' def __init__(self, log): self.log = log @@ -285,7 +292,6 @@ class FB2MLizer(object): else: fb2_text.append(prepare_string_for_xml(elem.tail)) - #print fb2_text return fb2_text def close_tags(self, tags):