spec/support/mybook/templates/epub/cover.erb in kitabu-1.0.6 vs spec/support/mybook/templates/epub/cover.erb in kitabu-2.0.0
- old
+ new
@@ -1,16 +1,17 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= language %>">
+<html class="epub" xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= language %>">
<head>
<title><%= title %></title>
- <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" href="styles/epub.css" type="text/css" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
</head>
+
<body>
<div>
- <h1><%= title %></h1>
+ <h1><%= title %></h1>
</div>
</body>
</html>