Permalink
Browse files

EPUB templates: Use html5 doctype if epub3.

  • Loading branch information...
1 parent 2e0841b commit 8aad14418920ab350ddd84762dc5313673c6975f John MacFarlane committed Nov 3, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 epub-coverimage.html
  2. +1 −1 epub-page.html
  3. +1 −1 epub-titlepage.html
View
2 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>
View
2 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>
View
2 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>

0 comments on commit 8aad144

Please sign in to comment.