mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix bug #4293: Italics not set properly in PML output.
This commit is contained in:
parent
028136c7ae
commit
251e9168e9
@ -18,7 +18,7 @@ from calibre.ebooks.pml import unipmlcode
|
||||
TAG_MAP = {
|
||||
'b' : 'B',
|
||||
'strong' : 'B',
|
||||
'i' : 'I',
|
||||
'i' : 'i',
|
||||
'small' : 'k',
|
||||
'sub' : 'Sb',
|
||||
'sup' : 'Sp',
|
||||
@ -35,7 +35,7 @@ TAG_MAP = {
|
||||
|
||||
STYLES = [
|
||||
('font-weight', {'bold' : 'B', 'bolder' : 'B'}),
|
||||
('font-style', {'italic' : 'I'}),
|
||||
('font-style', {'italic' : 'i'}),
|
||||
('text-decoration', {'underline' : 'u'}),
|
||||
('text-align', {'right' : 'r', 'center' : 'c'}),
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user