EPUB templates: Use html5 doctype if epub3.

This commit is contained in:
John MacFarlane 2012-11-02 20:52:43 -07:00
parent 2e0841bf8e
commit 8aad144189
3 changed files with 3 additions and 3 deletions

View file

@ -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 file

@ -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 file

@ -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>