chore: run prettier
This commit is contained in:
@@ -53,9 +53,7 @@ export function ssrRenderDynamicAttr(
|
||||
if (isBooleanAttr(attrKey)) {
|
||||
return value === false ? `` : ` ${attrKey}`
|
||||
} else if (isSSRSafeAttrName(attrKey)) {
|
||||
return value === ''
|
||||
? ` ${attrKey}`
|
||||
: ` ${attrKey}="${escapeHtml(value)}"`
|
||||
return value === '' ? ` ${attrKey}` : ` ${attrKey}="${escapeHtml(value)}"`
|
||||
} else {
|
||||
console.warn(
|
||||
`[@vue/server-renderer] Skipped rendering unsafe attribute name: ${attrKey}`
|
||||
|
||||
Reference in New Issue
Block a user