| commit | c169e833893de5a0b07fdae0b911613b734e0851 | [log] [tgz] |
|---|---|---|
| author | Nicolas Arnold <nicolas.arnold@swhk.ids-mannheim.de> | Fri Jun 07 08:44:11 2024 +0200 |
| committer | Nicolas Arnold <nicolas.arnold@swhk.ids-mannheim.de> | Fri Jun 07 08:52:39 2024 +0200 |
| tree | 5e51dd7c41e07f882bd1b46fbb6ad7d678f7ca08 | |
| parent | 3211880a7b52aec98b1dd4123113437b6e975672 [diff] |
Add more italic span mappings
diff --git a/xslt/epub2i5.xsl b/xslt/epub2i5.xsl index 7e10f9b..2da8108 100644 --- a/xslt/epub2i5.xsl +++ b/xslt/epub2i5.xsl
@@ -456,7 +456,7 @@ </hi> </xsl:template> - <xsl:template match="xhtml:i|xhtml:span[@class='i' or @class='it']"> + <xsl:template match="xhtml:i|xhtml:span[@class='i' or @class='it' or @class='Italic']|xhtml:span[@style='font-style:italic' or @style='font-style:italic;']"> <hi rend="italic"> <xsl:apply-templates/> </hi>