We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74d9ba2 commit 51f28bfCopy full SHA for 51f28bf
src/client/theme-default/components/VPLink.vue
@@ -11,7 +11,7 @@ const props = defineProps<{
11
rel?: string
12
}>()
13
14
-const tag = computed(() => props.tag ?? props.href ? 'a' : 'span')
+const tag = computed(() => props.tag ?? (props.href ? 'a' : 'span'))
15
const isExternal = computed(() => props.href && EXTERNAL_URL_RE.test(props.href))
16
</script>
17
0 commit comments