This commit is contained in:
Kovid Goyal 2009-05-19 21:31:47 -07:00
parent 686bf72fe1
commit 07c2c5d905

View File

@ -262,13 +262,6 @@ class HTMLInput(InputFormatPlugin):
),
])
def decode(self, raw):
if self.opts.input_encoding:
raw = raw.decode(self.opts.input_encoding, 'replace')
print 111111, type(raw)
return xml_to_unicode(raw, verbose=self.opts.verbose,
strip_encoding_pats=True, resolve_entities=True)[0]
def convert(self, stream, opts, file_ext, log,
accelerators):
from calibre.ebooks.metadata.meta import get_metadata