From 100fe900be5672974431c1f33c418b93fe9d5cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nu=C5=A1a=20Puk=C5=A1i=C4=8D?= Date: Mon, 22 Sep 2025 18:48:11 +0200 Subject: [PATCH] Parser fix, 2 --- src/Util/CommonMark/NostrSchemeExtension/NostrSchemeParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/CommonMark/NostrSchemeExtension/NostrSchemeParser.php b/src/Util/CommonMark/NostrSchemeExtension/NostrSchemeParser.php index 104d49f..ce69840 100644 --- a/src/Util/CommonMark/NostrSchemeExtension/NostrSchemeParser.php +++ b/src/Util/CommonMark/NostrSchemeExtension/NostrSchemeParser.php @@ -40,7 +40,7 @@ class NostrSchemeParser implements InlineParserInterface case 'npub': /** @var NPub $object */ $object = $decoded->data; - $inlineContext->getContainer()->appendChild(new NostrMentionLink(null, $object->data)); + $inlineContext->getContainer()->appendChild(new NostrMentionLink(null, $bechEncoded)); break; case 'nprofile': /** @var NProfile $decodedProfile */