We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c823018 commit e92116fCopy full SHA for e92116f
app/Config/DocTypes.php
@@ -30,4 +30,14 @@ class DocTypes
30
'xhtml-rdfa-1' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">',
31
'xhtml-rdfa-2' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">',
32
];
33
+
34
+ /**
35
+ * Whether to remove the solidus (`/`) character for void HTML elements (e.g. `<input>`)
36
+ * for HTML5 compatibility.
37
+ *
38
+ * Set to:
39
+ * `true` - to be HTML5 compatible
40
+ * `false` - to be XHTML compatible
41
+ */
42
+ public bool $html5 = true;
43
}
0 commit comments