Skip to content

Commit 98ce28a

Browse files
author
Kapil Borle
committed
Fix extracting hyperlink from markdown
1 parent 6129888 commit 98ce28a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utils/ReleaseMaker.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function Update-ReleaseNotesInModuleManifest
144144
function Remove-MarkdownHyperlink
145145
{
146146
param($markdownContent)
147-
$markdownContent -replace "\[(.*)\]\(.*\)",'$1'
147+
$markdownContent -replace "\[(.*?)\]\(.*?\)",'$1'
148148
}
149149

150150
function Combine-Path

0 commit comments

Comments
 (0)