You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 31, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: src/Helper/Doctype.php
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ class Doctype extends AbstractHelper
29
29
constXHTML1_TRANSITIONAL = 'XHTML1_TRANSITIONAL';
30
30
constXHTML1_FRAMESET = 'XHTML1_FRAMESET';
31
31
constXHTML1_RDFA = 'XHTML1_RDFA';
32
+
constXHTML1_RDFA11 = 'XHTML1_RDFA11';
32
33
constXHTML_BASIC1 = 'XHTML_BASIC1';
33
34
constXHTML5 = 'XHTML5';
34
35
constHTML4_STRICT = 'HTML4_STRICT';
@@ -70,6 +71,7 @@ protected static function registerDefaultDoctypes()
70
71
self::XHTML1_TRANSITIONAL => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
71
72
self::XHTML1_FRAMESET => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">',
72
73
self::XHTML1_RDFA => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">',
74
+
self::XHTML1_RDFA11 => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">',
73
75
self::XHTML_BASIC1 => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">',
74
76
self::XHTML5 => '<!DOCTYPE html>',
75
77
self::HTML4_STRICT => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">',
@@ -124,6 +126,7 @@ public function __invoke($doctype = null)
0 commit comments