mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 01:23:42 +02:00
...
This commit is contained in:
parent
a70957c75e
commit
92f72c027a
1 changed files with 0 additions and 1 deletions
|
|
@ -861,7 +861,6 @@ def first_pass(data):
|
|||
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…
Reference in a new issue