mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
ODT Input: Do not force the background color to white. Fixes #9118 (White background color from OpenOffice to Mobi added)
This commit is contained in:
parent
2101dcf2b5
commit
019c17973e
@ -659,7 +659,8 @@ class ODF2XHTML(handler.ContentHandler):
|
||||
self.opentag('style', {'type':"text/css"}, True)
|
||||
self.writeout('/*<![CDATA[*/\n')
|
||||
self.writeout('\nimg { width: 100%; height: 100%; }\n')
|
||||
self.writeout('* { padding: 0; margin: 0; background-color:white; }\n')
|
||||
# background-color: white removed by Kovid for #9118
|
||||
self.writeout('* { padding: 0; margin: 0; }\n')
|
||||
self.writeout('body { margin: 0 1em; }\n')
|
||||
self.writeout('ol, ul { padding-left: 2em; }\n')
|
||||
self.generate_stylesheet()
|
||||
|
Loading…
x
Reference in New Issue
Block a user