mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -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 = {
|
TAG_MAP = {
|
||||||
'b' : 'B',
|
'b' : 'B',
|
||||||
'strong' : 'B',
|
'strong' : 'B',
|
||||||
'i' : 'I',
|
'i' : 'i',
|
||||||
'small' : 'k',
|
'small' : 'k',
|
||||||
'sub' : 'Sb',
|
'sub' : 'Sb',
|
||||||
'sup' : 'Sp',
|
'sup' : 'Sp',
|
||||||
@ -35,7 +35,7 @@ TAG_MAP = {
|
|||||||
|
|
||||||
STYLES = [
|
STYLES = [
|
||||||
('font-weight', {'bold' : 'B', 'bolder' : 'B'}),
|
('font-weight', {'bold' : 'B', 'bolder' : 'B'}),
|
||||||
('font-style', {'italic' : 'I'}),
|
('font-style', {'italic' : 'i'}),
|
||||||
('text-decoration', {'underline' : 'u'}),
|
('text-decoration', {'underline' : 'u'}),
|
||||||
('text-align', {'right' : 'r', 'center' : 'c'}),
|
('text-align', {'right' : 'r', 'center' : 'c'}),
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user