From 5ca3b7e83fefaaa2b0d740ff607f0c6134231281 Mon Sep 17 00:00:00 2001 From: Roman Dvornov Date: Tue, 28 May 2024 03:07:21 +0200 Subject: [PATCH] Fix link text rendering when content is undefined --- src/views/text/link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/text/link.js b/src/views/text/link.js index 83af96f5..388aae2e 100644 --- a/src/views/text/link.js +++ b/src/views/text/link.js @@ -3,7 +3,7 @@ import usage from './link.usage.js'; export default function(host) { const prepareProps = host.queryFn(`is not array? | { - text: # has no 'content' ? is string ?: text, + text: #.content is undefined ? is string ?: text, content: #.content, href, external,