File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
commonmark-ext-autolink/src/test/java/org/commonmark/ext/autolink Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,13 @@ with the exception that 0.x versions can break between minor versions.
1616 | ` URL ` | Yes | URL with a protocol such as ` https://example.com ` |
1717 | ` EMAIL ` | Yes
| Email address such as
` [email protected] ` | 1818 | ` WWW ` | Yes | Address beginning with ` www ` such as ` www.example.com ` |
19+
20+ Note that This changes the behavior of ` AutolinkExtension.create() ` to now also
21+ include ` WWW ` links by default. To re-enable the previous behavior, use:
1922
20- > [ !NOTE]
21- >
22- > This changes the behavior of ` AutolinkExtension.create() ` to now also include
23- > ` WWW ` links by default. To re-enable the previous behavior, use:
24- >
25- > ``` java
26- > AutolinkExtension . builder(). linkTypes(AutolinkType . URL , AutolinkType . EMAIL ). build();
27- > ```
23+ ``` java
24+ AutolinkExtension . builder(). linkTypes(AutolinkType . URL , AutolinkType . EMAIL ). build();
25+ ```
2826
2927## [ 0.26.0] - 2025-09-13
3028### Changed
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public void dontLinkTextWithinLinks() {
6666 @ Test
6767 public void wwwLinks () {
6868 assertRendering ("www.example.com" ,
69- "<p><a href=\" https ://www.example.com\" >www.example.com</a></p>\n " );
69+ "<p><a href=\" http ://www.example.com\" >www.example.com</a></p>\n " );
7070 }
7171
7272 @ Test
You can’t perform that action at this time.
0 commit comments