Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 873 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 873 Bytes

MyBB - HTML5 Doctype Support

This is a small plugin to support HTML5 Doctype for MyBB

What it does?

What it does is pretty simple to change your doctype from:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

to:

<!DOCTYPE html>

And change the HTML tag from:

<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">

to:

<html>

Can't I do that myself?

Actually you can, but not in the templates, cause this is some of the core functions in MyBB 1.6.x. This plugin does it using hooks, which doesn't change any of the core codes for MyBB.

If you wish to do it yourself you can follow this guide.