From 9fe6d91a1a75d6a3fd5a9ef5884b13be5055920b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 14 Dec 2018 11:29:35 -0800 Subject: Remove unnecessary type="text/css" on style and link for HTML5. Closes #5146. --- data/templates/default.dzslides | 4 ++-- data/templates/default.epub3 | 6 +++--- data/templates/default.html5 | 4 ++-- data/templates/default.revealjs | 4 ++-- test/lhs-test.html | 4 ++-- test/lhs-test.html+lhs | 4 ++-- test/writer.html5 | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/data/templates/default.dzslides b/data/templates/default.dzslides index 892a434cb..96862a2fd 100644 --- a/data/templates/default.dzslides +++ b/data/templates/default.dzslides @@ -12,7 +12,7 @@ $if(keywords)$ $endif$ $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$ - $if(highlighting-css)$ - $endif$ 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 @@ $pagetitle$ - $if(highlighting-css)$ - $endif$ $for(css)$ - + $endfor$ $for(header-includes)$ $header-includes$ diff --git a/data/templates/default.html5 b/data/templates/default.html5 index c2bf0e093..1d7bef4c7 100644 --- a/data/templates/default.html5 +++ b/data/templates/default.html5 @@ -14,7 +14,7 @@ $if(keywords)$ $endif$ $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$ - $if(highlighting-css)$ - $endif$ diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs index 5d76071a6..e1949e397 100644 --- a/data/templates/default.revealjs +++ b/data/templates/default.revealjs @@ -17,7 +17,7 @@ $endif$ - $if(highlighting-css)$ - $endif$ diff --git a/test/lhs-test.html b/test/lhs-test.html index 3a3247982..efe9d8e29 100644 --- a/test/lhs-test.html +++ b/test/lhs-test.html @@ -5,13 +5,13 @@ lhs-test - - -