diff --git a/tests/Feature/RoutesExtensionTest.php b/tests/Feature/RoutesExtensionTest.php index 0363355..36e9f7f 100644 --- a/tests/Feature/RoutesExtensionTest.php +++ b/tests/Feature/RoutesExtensionTest.php @@ -58,3 +58,19 @@ expect(trim($converter->convert("[Home](route('home', absolute: false))")->getContent())) ->toBe('
'); }); + +it('replaces route with angle brackets', function () { + $converter = new CommonMarkConverter(); + $converter->getEnvironment()->addExtension(new RoutesExtension()); + + expect(trim($converter->convert("[Home](