aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-11-02 20:52:43 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-11-02 20:52:43 -0700
commit8aad14418920ab350ddd84762dc5313673c6975f (patch)
tree93b48909c019b6830dd3425826eb1ec93a0f9a54
parent2e0841bf8e4aeb7710fe1d8519f69c224354a1f4 (diff)
downloadpandoc-8aad14418920ab350ddd84762dc5313673c6975f.tar.gz
EPUB templates: Use html5 doctype if epub3.
-rw-r--r--epub-coverimage.html2
-rw-r--r--epub-page.html2
-rw-r--r--epub-titlepage.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/epub-coverimage.html b/epub-coverimage.html
index 4449f8054..e73978bd0 100644
--- a/epub-coverimage.html
+++ b/epub-coverimage.html
@@ -1,5 +1,5 @@
<?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">
+<!DOCTYPE html$if(epub3)$$else$ PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"$endif$>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>$pagetitle$</title>
diff --git a/epub-page.html b/epub-page.html
index b811e1859..c41834557 100644
--- a/epub-page.html
+++ b/epub-page.html
@@ -1,5 +1,5 @@
<?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">
+<!DOCTYPE html$if(epub3)$$else$ PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"$endif$>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>$pagetitle$</title>
diff --git a/epub-titlepage.html b/epub-titlepage.html
index a3c5bc503..fa7c7d614 100644
--- a/epub-titlepage.html
+++ b/epub-titlepage.html
@@ -1,5 +1,5 @@
<?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">
+<!DOCTYPE html$if(epub3)$$else$ PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"$endif$>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>$pagetitle$</title>