From 02f55512253e78692b4b4ee8de3e8f64b3719d10 Mon Sep 17 00:00:00 2001 From: Jason Smith Date: Mon, 11 Nov 2024 14:54:11 +1100 Subject: [PATCH] test(@dpc-sdp/ripple-tide-api): :white_check_mark: allow empty title but not empty link --- .../src/utils/markup-transpiler/default-plugins.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ripple-tide-api/src/utils/markup-transpiler/default-plugins.ts b/packages/ripple-tide-api/src/utils/markup-transpiler/default-plugins.ts index 70bb77961..7f8431db8 100644 --- a/packages/ripple-tide-api/src/utils/markup-transpiler/default-plugins.ts +++ b/packages/ripple-tide-api/src/utils/markup-transpiler/default-plugins.ts @@ -96,7 +96,7 @@ const pluginDocuments = function (this: any) { updated = $element.attr('data-last-updated') // Remove markup stub if there are no details - if (!title || !link) { + if (!link) { return $element.remove() }