git.iko.soy/typeable/pandoc
on master help sign in
Remove unnecessary type="text/css" on style and link for HTML5.

Closes #5146.

commit9fe6d91a1a75d6a3fd5a9ef5884b13be5055920b authorJohn MacFarlane <jgm@berkeley.edu> dateFri 14 Dec 2018, 11:29 (8 years ago) parentee60ba5
7 files changed+14−14
data/templates/default.dzslides+2−2 data/templates/default.epub3+3−3 data/templates/default.html5+2−2 data/templates/default.revealjs+2−2 test/lhs-test.html+2−2 test/lhs-test.html+lhs+2−2 test/writer.html5+1−1
data/templates/default.dzslides+2−2
@@ -12,7 +12,7 @@ $if(keywords)$
1212 <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
1313$endif$
1414 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
15− <style type="text/css">
15+ <style>
1616 code{white-space: pre-wrap;}
1717 span.smallcaps{font-variant: small-caps;}
1818 span.underline{text-decoration: underline;}
@@ -22,7 +22,7 @@ $if(quotes)$
2222$endif$
2323 </style>
2424$if(highlighting-css)$
25− <style type="text/css">
25+ <style>
2626$highlighting-css$
2727 </style>
2828$endif$
data/templates/default.epub3+3−3
@@ -5,7 +5,7 @@
55 <meta charset="utf-8" />
66 <meta name="generator" content="pandoc" />
77 <title>$pagetitle$</title>
8− <style type="text/css">
8+ <style>
99 code{white-space: pre-wrap;}
1010 span.smallcaps{font-variant: small-caps;}
1111 span.underline{text-decoration: underline;}
@@ -15,12 +15,12 @@ $if(quotes)$
1515$endif$
1616 </style>
1717$if(highlighting-css)$
18− <style type="text/css">
18+ <style>
1919$highlighting-css$
2020 </style>
2121$endif$
2222$for(css)$
23− <link rel="stylesheet" type="text/css" href="$css$" />
23+ <link rel="stylesheet" href="$css$" />
2424$endfor$
2525$for(header-includes)$
2626 $header-includes$
data/templates/default.html5+2−2
@@ -14,7 +14,7 @@ $if(keywords)$
1414 <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
1515$endif$
1616 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
17− <style type="text/css">
17+ <style>
1818 code{white-space: pre-wrap;}
1919 span.smallcaps{font-variant: small-caps;}
2020 span.underline{text-decoration: underline;}
@@ -24,7 +24,7 @@ $if(quotes)$
2424$endif$
2525 </style>
2626$if(highlighting-css)$
27− <style type="text/css">
27+ <style>
2828$highlighting-css$
2929 </style>
3030$endif$
data/templates/default.revealjs+2−2
@@ -17,7 +17,7 @@ $endif$
1717 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
1818 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
1919 <link rel="stylesheet" href="$revealjs-url$/css/reveal.css">
20− <style type="text/css">
20+ <style>
2121 code{white-space: pre-wrap;}
2222 span.smallcaps{font-variant: small-caps;}
2323 span.underline{text-decoration: underline;}
@@ -27,7 +27,7 @@ $if(quotes)$
2727$endif$
2828 </style>
2929$if(highlighting-css)$
30− <style type="text/css">
30+ <style>
3131$highlighting-css$
3232 </style>
3333$endif$
test/lhs-test.html+2−2
@@ -5,13 +5,13 @@
55 <meta name="generator" content="pandoc" />
66 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
77 <title>lhs-test</title>
8− <style type="text/css">
8+ <style>
99 code{white-space: pre-wrap;}
1010 span.smallcaps{font-variant: small-caps;}
1111 span.underline{text-decoration: underline;}
1212 div.column{display: inline-block; vertical-align: top; width: 50%;}
1313 </style>
14− <style type="text/css">
14+ <style>
1515a.sourceLine { display: inline-block; line-height: 1.25; }
1616a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
1717a.sourceLine:empty { height: 1.2em; }
test/lhs-test.html+lhs+2−2
@@ -5,13 +5,13 @@
55 <meta name="generator" content="pandoc" />
66 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
77 <title>lhs-test</title>
8− <style type="text/css">
8+ <style>
99 code{white-space: pre-wrap;}
1010 span.smallcaps{font-variant: small-caps;}
1111 span.underline{text-decoration: underline;}
1212 div.column{display: inline-block; vertical-align: top; width: 50%;}
1313 </style>
14− <style type="text/css">
14+ <style>
1515a.sourceLine { display: inline-block; line-height: 1.25; }
1616a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
1717a.sourceLine:empty { height: 1.2em; }
test/writer.html5+1−1
@@ -8,7 +8,7 @@
88 <meta name="author" content="Anonymous" />
99 <meta name="dcterms.date" content="2006-07-17" />
1010 <title>Pandoc Test Suite</title>
11− <style type="text/css">
11+ <style>
1212 code{white-space: pre-wrap;}
1313 span.smallcaps{font-variant: small-caps;}
1414 span.underline{text-decoration: underline;}