mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 04:34:27 +02:00
...
This commit is contained in:
parent
032890d06f
commit
240b371ad5
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ def preprocess_html(self, soup):
|
|||
tag.name = 'div'
|
||||
|
||||
soup.html['xml:lang'] = self.language.replace('_', '-')
|
||||
soup.html['lang'] = self.lang
|
||||
soup.html['lang'] = self.language.replace('_', '-')
|
||||
mtag = '<meta http-equiv="Content-Type" content="text/html; charset=' + self.encoding + '">'
|
||||
soup.head.insert(0,mtag)
|
||||
return soup
|
||||
|
|
|
|||
Loading…
Reference in a new issue