git.iko.soy/typeable/pandoc
on master help sign in
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.

commit63254ae958f820634d58f0b538d6b976f3aa782b authorEric Schrijver <eric@ericschrijver.nl> dateSat 4 May 2019, 07:11 (8 years ago) parent786594b
1 file changed+1−1
data/templates/default.epub3+1−1
data/templates/default.epub3+1−1
@@ -20,7 +20,7 @@ $highlighting-css$
2020 </style>
2121$endif$
2222$for(css)$
23− <link rel="stylesheet" href="$css$" />
23+ <link rel="stylesheet" type="text/css" href="$css$" />
2424$endfor$
2525$for(header-includes)$
2626 $header-includes$