Files
NapCatQQ/.pnpm-store/v3/files/01/de2136dd92176168dd6a4a8b50210b5448b9649256b1d6c0e66b78a50dd63b7a5c45bd97c46d7aa1b41e9b5abbcd925eab7a4a6f10ad7e29901e6312b1cc89
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

32 lines
637 B
Plaintext

/**
* HTML URL properties.
*
* Each key is a property name and each value is a list of tag names it applies
* to or `null` if it applies to all elements.
*
* @type {Record<string, Array<string> | null>}
*/
export const urlAttributes = {
action: ['form'],
cite: ['blockquote', 'del', 'ins', 'q'],
data: ['object'],
formAction: ['button', 'input'],
href: ['a', 'area', 'base', 'link'],
icon: ['menuitem'],
itemId: null,
manifest: ['html'],
ping: ['a', 'area'],
poster: ['video'],
src: [
'audio',
'embed',
'iframe',
'img',
'input',
'script',
'source',
'track',
'video'
]
}