summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorSébastien Adam <sebastien.adam.webdev@gmail.com>2015-11-25 18:30:34 +0100
committerSébastien Adam <sebastien.adam.webdev@gmail.com>2015-11-25 18:30:34 +0100
commitdfcc5318d378ae66dd21806c6ac2dad67d73dc26 (patch)
tree9fb50777604765edf3cf8a4ab17d525b4f7d0b49 /system/helpers
parentfd70fa5ff7cec722a69f3e720a962aea3dec03fe (diff)
HTML Helper - doctype(): now default type is HTML 5
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/html_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
index 4e25f8c9b..b4c605a01 100644
--- a/system/helpers/html_helper.php
+++ b/system/helpers/html_helper.php
@@ -229,7 +229,7 @@ if ( ! function_exists('doctype'))
* @param string type The doctype to be generated
* @return string
*/
- function doctype($type = 'xhtml1-strict')
+ function doctype($type = 'html5')
{
static $doctypes;