diff --git a/resources/templates/rtf.xsl b/resources/templates/rtf.xsl
index bf016efaaf..ae054186d4 100644
--- a/resources/templates/rtf.xsl
+++ b/resources/templates/rtf.xsl
@@ -81,7 +81,6 @@
-
@@ -182,14 +181,12 @@
-
-
unnamed
@@ -386,7 +383,6 @@
-
true
true
false
diff --git a/src/calibre/ebooks/rtf/input.py b/src/calibre/ebooks/rtf/input.py
index 50f5571d58..df74a7b3cb 100644
--- a/src/calibre/ebooks/rtf/input.py
+++ b/src/calibre/ebooks/rtf/input.py
@@ -141,7 +141,6 @@ class RTFInput(InputFormatPlugin):
return name
-
def write_inline_css(self, ic):
font_size_classes = ['span.fs%d { font-size: %spt }'%(i, x) for i, x in
enumerate(ic.font_sizes)]
@@ -152,17 +151,11 @@ class RTFInput(InputFormatPlugin):
text-decoration: none; font-weight: normal;
font-style: normal; font-variant: normal
}
-
span.italics { font-style: italic }
-
span.bold { font-weight: bold }
-
span.small-caps { font-variant: small-caps }
-
span.underlined { text-decoration: underline }
-
span.strike-through { text-decoration: line-through }
-
''')
css += '\n'+'\n'.join(font_size_classes)
css += '\n' +'\n'.join(color_classes)