Skip to content

Commit 47cc9eb

Browse files
skotnicznymarijnh
authored andcommitted
Add type attribute to <link> tag in epub
1 parent ac9b2ea commit 47cc9eb

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

epub/frontmatter.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="en-US">
33
<head>
4-
<link rel="stylesheet" href="style.css"/>
4+
<link rel="stylesheet" href="style.css" type="text/css"/>
55
<title>Eloquent JavaScript</title>
66
<style>
77
img.logo { vertical-align: text-top; padding: 0px 4px; border: 0; }

epub/titlepage.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="en-US">
33
<head>
44
<title>Cover</title>
5-
<link rel="stylesheet" href="style.css"/>
5+
<link rel="stylesheet" href="style.css" type="text/css"/>
66
<style type="text/css" title="override_css">
77
@page {padding: 0pt; margin:0pt}
88
body { text-align: center; padding:0pt; margin: 0pt; }

epub/toc.xhtml.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="en-US">
33
<head>
44
<title>Table of Contents</title>
5-
<link rel="stylesheet" href="style.css"/>
5+
<link rel="stylesheet" href="style.css" type="text/css"/>
66
<style>
77
nav#toc { display: none; }
88

src/epub_chapter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="en-US">
33
<head>
44
<title><<t $in.title>></title>
5-
<link rel="stylesheet" href="style.css"/>
5+
<link rel="stylesheet" href="style.css" type="text/css"/>
66
</head>
77
<body>
88
<article>

0 commit comments

Comments
 (0)