From 9fe6d91a1a75d6a3fd5a9ef5884b13be5055920b Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Fri, 14 Dec 2018 11:29:35 -0800 Subject: Remove unnecessary type="text/css" on style and link for HTML5. Closes #5146. --- test/lhs-test.html | 4 ++-- test/lhs-test.html+lhs | 4 ++-- test/writer.html5 | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test') 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 @@ <meta name="generator" content="pandoc" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> <title>lhs-test</title> - <style type="text/css"> + <style> code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} div.column{display: inline-block; vertical-align: top; width: 50%;} </style> - <style type="text/css"> + <style> a.sourceLine { display: inline-block; line-height: 1.25; } a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; } a.sourceLine:empty { height: 1.2em; } diff --git a/test/lhs-test.html+lhs b/test/lhs-test.html+lhs index c40f6173f..88f7b8834 100644 --- a/test/lhs-test.html+lhs +++ b/test/lhs-test.html+lhs @@ -5,13 +5,13 @@ <meta name="generator" content="pandoc" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> <title>lhs-test</title> - <style type="text/css"> + <style> code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} div.column{display: inline-block; vertical-align: top; width: 50%;} </style> - <style type="text/css"> + <style> a.sourceLine { display: inline-block; line-height: 1.25; } a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; } a.sourceLine:empty { height: 1.2em; } diff --git a/test/writer.html5 b/test/writer.html5 index 46105d0a6..57b937653 100644 --- a/test/writer.html5 +++ b/test/writer.html5 @@ -8,7 +8,7 @@ <meta name="author" content="Anonymous" /> <meta name="dcterms.date" content="2006-07-17" /> <title>Pandoc Test Suite</title> - <style type="text/css"> + <style> code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} -- cgit v1.2.3