aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-17 15:35:09 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-17 15:35:09 -0800
commiteac006ec6d59046e0daabd318d221e71c227575e (patch)
tree867dd96a4143365d8a0b542213469cbce2642276
parent9655f58e361906ce214f7c3940a9115c47296a5d (diff)
downloadpandoc-eac006ec6d59046e0daabd318d221e71c227575e.tar.gz
Revert "epub, epub3: Added id="cover" to body of titlepage."
This reverts commit 63443da4501728332a6624a1d1b769ef9183436b.
-rw-r--r--default.epub5
-rw-r--r--default.epub36
2 files changed, 3 insertions, 8 deletions
diff --git a/default.epub b/default.epub
index f2e042830..0ac58248f 100644
--- a/default.epub
+++ b/default.epub
@@ -15,8 +15,8 @@ $for(css)$
<link rel="stylesheet" type="text/css" href="$css$" />
$endfor$
</head>
+<body>
$if(titlepage)$
-<body id="cover">
$for(title)$
$if(title.text)$
<h1 class="$title.type$">$title.text$</h1>
@@ -42,11 +42,8 @@ $endif$
$if(rights)$
<p class="rights">$rights$</p>
$endif$
-</body>
$else$
-<body>
$body$
-</body>
$endif$
</body>
</html>
diff --git a/default.epub3 b/default.epub3
index 6dce74a3a..5e983a21a 100644
--- a/default.epub3
+++ b/default.epub3
@@ -19,8 +19,8 @@ $for(css)$
<link rel="stylesheet" type="text/css" href="$css$" />
$endfor$
</head>
+<body>
$if(titlepage)$
-<body id="cover">
<section epub:type="titlepage">
$for(title)$
$if(title.type)$
@@ -48,11 +48,9 @@ $if(rights)$
<p class="rights">$rights$</p>
$endif$
</section>
-</body>
$else$
-<body>
$body$
-</body>
$endif$
+</body>
</html>