aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schrijver <eric@ericschrijver.nl>2019-05-04 07:11:10 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2019-05-04 01:11:10 -0400
commit63254ae958f820634d58f0b538d6b976f3aa782b (patch)
tree9cc043c262c9725c30a32d30f35074ab80b3264e
parent786594b23be4a757e95776f782527c8a98fbaab5 (diff)
downloadpandoc-63254ae958f820634d58f0b538d6b976f3aa782b.tar.gz
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.
-rw-r--r--data/templates/default.epub32
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default.epub3 b/data/templates/default.epub3
index fa20fb874..15171acb2 100644
--- a/data/templates/default.epub3
+++ b/data/templates/default.epub3
@@ -20,7 +20,7 @@ $highlighting-css$
</style>
$endif$
$for(css)$
- <link rel="stylesheet" href="$css$" />
+ <link rel="stylesheet" type="text/css" href="$css$" />
$endfor$
$for(header-includes)$
$header-includes$