diff options
author | Anika Henke <anika@selfthinker.org> | 2012-07-14 12:10:08 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2012-07-14 12:10:08 +0100 |
commit | c8839c220c49633ea45ce5d0e4be1f411f66ad6c (patch) | |
tree | 58c6fba882a0d2d550aa04872ffd6036d1819519 /inc/actions.php | |
parent | 4a14c3a4f530437180e3523cc34ab4464cea7dfa (diff) | |
download | dokuwiki-c8839c220c49633ea45ce5d0e4be1f411f66ad6c.tar.gz dokuwiki-c8839c220c49633ea45ce5d0e4be1f411f66ad6c.zip |
changed all doctypes to html5 doctype
Diffstat (limited to 'inc/actions.php')
-rw-r--r-- | inc/actions.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/inc/actions.php b/inc/actions.php index d4bd5b20e..fc15713d8 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -568,12 +568,10 @@ function act_export($act){ $output = rawWiki($ID,$REV); break; case 'xhtml': - $pre .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"' . DOKU_LF; - $pre .= ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' . DOKU_LF; - $pre .= '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$conf['lang'].'"' . DOKU_LF; - $pre .= ' lang="'.$conf['lang'].'" dir="'.$lang['direction'].'">' . DOKU_LF; + $pre .= '<!DOCTYPE html>' . DOKU_LF; + $pre .= '<html lang="'.$conf['lang'].'" dir="'.$lang['direction'].'">' . DOKU_LF; $pre .= '<head>' . DOKU_LF; - $pre .= ' <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />' . DOKU_LF; + $pre .= ' <meta charset="utf-8" />' . DOKU_LF; $pre .= ' <title>'.$ID.'</title>' . DOKU_LF; // get metaheaders |