We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3008917 commit ca7c0f7Copy full SHA for ca7c0f7
test/AutolinkTest.php
@@ -439,6 +439,18 @@ public function testLocalhost(): void
439
);
440
}
441
442
+ public function testTrailingParenthesis(): void
443
+ {
444
+ $txt = 'Link to (https://google.com) with some text.';
445
+
446
+ $html = $this->instance->convert($txt);
447
448
+ assertEquals(
449
+ 'Link to (<a href="https://google.com">https://google.com</a>) with some text.',
450
+ $html,
451
+ );
452
+ }
453
454
/**
455
* urlProvider
456
*
0 commit comments