mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
a70957c75e
commit
92f72c027a
@ -861,7 +861,6 @@ class Manifest(object):
|
||||
data = re.compile(r'<!--.*?-->', re.DOTALL).sub('',
|
||||
data)
|
||||
data = re.sub(r'<meta\s+[^>]+?>', '', data)
|
||||
open('/tmp/t.html', 'wb').write(data.encode('utf-8'))
|
||||
data = data.replace(
|
||||
"<?xml version='1.0' encoding='utf-8'?><o:p></o:p>",
|
||||
'')
|
||||
|
Loading…
x
Reference in New Issue
Block a user