Replace url reference name by snip name in generic parser

This commit is contained in:
Tim 2025-04-28 00:47:15 +02:00
parent aa05a1c98e
commit 683cd5074c

View File

@ -37,7 +37,7 @@ readonly class UrlReferenceStage implements StageInterface
}
$url = $this->router->generate('snip_single', ['snip' => $snip->getId()]);
return sprintf('<a href="%s" title="Owner: %s">#%s</a>', $url, $snip->getCreatedBy(), $snip->getId());
return sprintf('<a href="%s">%s</a>', $url, $snip);
}, $payload);
}
}