This is pretty straight forward. Not sure why this isn't implemented.

According to to the very first instruction on properly using Bootstrap 3, is to use the HTML5 doctype:

http://getbootstrap.com/css/

HTML5 doctype
Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.

<!DOCTYPE html>
<html lang="en">
  ...
</html>

In other words....

In html.tpl.php

Replace:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
  "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">

With:

<!DOCTYPE html>

Bootstrap 3 HTML5 doctype

CommentFileSizeAuthor
bootstrap3.png50.21 KBduntuk

Comments

duntuk’s picture

Issue summary: View changes

Added code formatting support to quote.

duntuk’s picture

Issue summary: View changes
markhalliwell’s picture

Title: Use HTML5 doctype <!DOCTYPE html> » Use HTML5 doctype
Category: Feature request » Bug report
Status: Active » Fixed

:( that indeed got overlooked.

Thanks @duntuk!

Committed 6267c8a to 7.x-3.x:

Issue #2184165 by duntuk: Use HTML5 doctype .

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

  • Commit 6267c8a on 7.x-3.x, 8.x-3.x authored by duntuk, committed by Mark Carver:
    Issue #2184165 by duntuk: Use HTML5 doctype <!DOCTYPE html>.
    
ryan.armstrong’s picture

Version: 7.x-3.x-dev » 8.x-3.x-dev
Status: Closed (fixed) » Needs review

Moving this to the 8.x-3.x branch as it has been committed to that branch. Making sure the fix gets tested in the Drupal 8 release.

ryan.armstrong’s picture

Assigned: Unassigned » ryan.armstrong

  • Mark Carver committed 6267c8a on 8.x-3.x.x authored by duntuk
    Issue #2184165 by duntuk: Use HTML5 doctype <!DOCTYPE html>.
    
markhalliwell’s picture

Version: 8.x-3.x-dev » 7.x-3.x-dev
Assigned: ryan.armstrong » Unassigned
Status: Needs review » Closed (fixed)

I'm just moving this back to 7.x. If this needs re-evaluation in 8.x, create a new issue.

train’s picture

Looks like this is still an issue in 3.0 release?

markhalliwell’s picture

A full releast (7.x-3.0) is set in stone, there's no way to "fix" it unless you're willing to patch it yourself. Once #2461607: Release 7.x-3.1 is out, this will not longer be the case.

train’s picture

Got it, thanks.