]> git.p6c8.net - jirafeau_mojo42.git/commitdiff
add strict XHTML 1.0 as doctype
authorJerome Jutteau <mojo@couak.net>
Thu, 16 Jul 2015 20:15:41 +0000 (22:15 +0200)
committerJerome Jutteau <mojo@couak.net>
Thu, 16 Jul 2015 20:15:41 +0000 (22:15 +0200)
Signed-off-by: Jerome Jutteau <mojo@couak.net>
lib/template/header.php

index dd7ec3c6d87c0b23d3a85c56c1c55e9ef081dbbb..d6dc4b3ea85b4dc9cc4820e90f532bfd6f42e77e 100644 (file)
@@ -28,8 +28,7 @@ else
 if (stristr ($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml'))
 {
 ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">    
 <?php
 }

patrick-canterino.de