From e9cdd3d2402eed396df918a18d0d3014ce137c88 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sat, 18 Dec 2010 09:22:16 -0500 Subject: [PATCH] Remove 2.1 tags. --- src/calibre/ebooks/fb2/fb2ml.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/calibre/ebooks/fb2/fb2ml.py b/src/calibre/ebooks/fb2/fb2ml.py index 5efc360f1f..89c12db103 100644 --- a/src/calibre/ebooks/fb2/fb2ml.py +++ b/src/calibre/ebooks/fb2/fb2ml.py @@ -297,18 +297,6 @@ class FB2MLizer(object): s_out, s_tags = self.handle_simple_tag('emphasis', tag_stack+tags) fb2_out += s_out tags += s_tags - elif tag in ('del', 'strike'): - s_out, s_tags = self.handle_simple_tag('strikethrough', tag_stack+tags) - fb2_out += s_out - tags += s_tags - elif tag == 'sub': - s_out, s_tags = self.handle_simple_tag('sub', tag_stack+tags) - fb2_out += s_out - tags += s_tags - elif tag == 'sup': - s_out, s_tags = self.handle_simple_tag('sup', tag_stack+tags) - fb2_out += s_out - tags += s_tags # Processes style information. if style['font-style'] == 'italic': @@ -319,10 +307,6 @@ class FB2MLizer(object): s_out, s_tags = self.handle_simple_tag('strong', tag_stack+tags) fb2_out += s_out tags += s_tags - elif style['text-decoration'] == 'line-through': - s_out, s_tags = self.handle_simple_tag('strikethrough', tag_stack+tags) - fb2_out += s_out - tags += s_tags # Process element text. if hasattr(elem_tree, 'text') and elem_tree.text: