diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-11-02 20:52:43 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-11-02 20:52:43 -0700 |
commit | 8aad14418920ab350ddd84762dc5313673c6975f (patch) | |
tree | 93b48909c019b6830dd3425826eb1ec93a0f9a54 | |
parent | 2e0841bf8e4aeb7710fe1d8519f69c224354a1f4 (diff) | |
download | pandoc-8aad14418920ab350ddd84762dc5313673c6975f.tar.gz |
EPUB templates: Use html5 doctype if epub3.
-rw-r--r-- | epub-coverimage.html | 2 | ||||
-rw-r--r-- | epub-page.html | 2 | ||||
-rw-r--r-- | epub-titlepage.html | 2 |
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> |