From 251e9168e932eb4dfc84e0481ec2cac30eb28908 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sat, 26 Dec 2009 15:31:43 -0500 Subject: [PATCH] Fix bug #4293: Italics not set properly in PML output. --- src/calibre/ebooks/pml/pmlml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/pml/pmlml.py b/src/calibre/ebooks/pml/pmlml.py index c8acf2487e..77f858dbc9 100644 --- a/src/calibre/ebooks/pml/pmlml.py +++ b/src/calibre/ebooks/pml/pmlml.py @@ -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'}), ]