1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 23:04:32 +02:00

Add switch attribute to docs for switch checkbox (#41396)

* Add switch attribute to docs for switch checkbox

* tweak

* AI says this is the way

* fix
This commit is contained in:
Mark Otto
2025-04-21 20:32:40 -07:00
committed by GitHub
parent ed36faae9d
commit dd4e14499f
2 changed files with 20 additions and 5 deletions

View File

@@ -35,7 +35,9 @@ execFile('java', ['-version'], (error, stdout, stderr) => {
'Attribute “is:raw” is not serializable as XML 1.0.',
'Attribute “is:raw” not allowed on element “code” at this point.',
// Astro's expecting trailing slashes on HTML tags such as <br />
'Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.'
'Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.',
// Allow `switch` attribute.
'Attribute “switch” not allowed on element “input” at this point.'
].join('|')
const args = [