diff --git a/packages/runtime-dom/src/patchProp.ts b/packages/runtime-dom/src/patchProp.ts index b6af89971..c479c2fa2 100644 --- a/packages/runtime-dom/src/patchProp.ts +++ b/packages/runtime-dom/src/patchProp.ts @@ -122,6 +122,11 @@ function shouldSetAsProp( return false } + // #12211 must be set as attribute + if (key === 'text' && el.tagName === 'A') { + return false + } + // #8780 the width or height of embedded tags must be set as attribute if (key === 'width' || key === 'height') { const tag = el.tagName