Epub3 stylesheet link compatible with kindlegen (#5466)

daamien@411119b removes `type="text/css"` from both `<style>` and `<rel="stylesheet">` elements in all templates. However, Amazon’s kindlegen software relies on this attribute on `<link>` elements when detecting stylesheets to include.
This commit is contained in:
Eric Schrijver 2019-05-04 07:11:10 +02:00 committed by John MacFarlane
parent 786594b23b
commit 63254ae958

View file

@ -20,7 +20,7 @@ $highlighting-css$
</style> </style>
$endif$ $endif$
$for(css)$ $for(css)$
<link rel="stylesheet" href="$css$" /> <link rel="stylesheet" type="text/css" href="$css$" />
$endfor$ $endfor$
$for(header-includes)$ $for(header-includes)$
$header-includes$ $header-includes$