Skip to content

Commit 2ae4a86

Browse files
committed
update comment
1 parent d05f453 commit 2ae4a86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/utilities/src/utilities.client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ export function normalizeUrl(url: string, keepFragment?: boolean) {
158158
}
159159

160160
// Helper function for markdown rendered marked
161-
// Renders links outside apify.com in readme with rel="noopener noreferrer nofollow" and target="_blank" attributes
161+
// If passed hostname, it renders links outside that hostname in readme with rel="noopener noreferrer" and target="_blank" attributes
162+
// And links outside apify.com in readme with rel="noopener noreferrer nofollow" and target="_blank" attributes
162163
export function markedSetNofollowLinks(href: string, title: string, text: string, hostname?: string) {
163164
let urlParsed: URL;
164165
try {

0 commit comments

Comments
 (0)