aboutsummaryrefslogtreecommitdiff
path: root/data/templates/default.epub3
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-12-14 11:29:35 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2018-12-14 11:29:35 -0800
commit9fe6d91a1a75d6a3fd5a9ef5884b13be5055920b (patch)
tree266a61eca60841f00ef06822d1bbe6c5d6d2c982 /data/templates/default.epub3
parentee60ba5252360d2efbf9cf30197236a21a15a924 (diff)
downloadpandoc-9fe6d91a1a75d6a3fd5a9ef5884b13be5055920b.tar.gz
Remove unnecessary type="text/css" on style and link for HTML5.
Closes #5146.
Diffstat (limited to 'data/templates/default.epub3')
-rw-r--r--data/templates/default.epub36
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/default.epub3 b/data/templates/default.epub3
index 6428e984c..0bd4a1a87 100644
--- a/data/templates/default.epub3
+++ b/data/templates/default.epub3
@@ -5,7 +5,7 @@
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<title>$pagetitle$</title>
- <style type="text/css">
+ <style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
@@ -15,12 +15,12 @@ $if(quotes)$
$endif$
</style>
$if(highlighting-css)$
- <style type="text/css">
+ <style>
$highlighting-css$
</style>
$endif$
$for(css)$
- <link rel="stylesheet" type="text/css" href="$css$" />
+ <link rel="stylesheet" href="$css$" />
$endfor$
$for(header-includes)$
$header-includes$