Skip to content

Commit 4e2fdcb

Browse files
committed
feat(Meta): (backport from Qv2) Allow render of attributes with Boolean true as value Boolean HTML attributes quasarframework#12144
1 parent 97e294c commit 4e2fdcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/plugins/Meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function updateClient () {
180180
function getAttr (seed) {
181181
return att => {
182182
const val = seed[att]
183-
return att + (val !== void 0 ? `="${val}"` : '')
183+
return att + (val !== true && val !== void 0 ? `="${val}"` : '')
184184
}
185185
}
186186

0 commit comments

Comments
 (0)