Skip to content

Commit

Permalink
will -raw fix the crlf error in readme generation?
Browse files Browse the repository at this point in the history
  • Loading branch information
on committed Oct 28, 2024
1 parent 66dd1c3 commit c990b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-readme.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ foreach ($file in $userJsFiles) {

if (Test-Path "doc/$baseName.md") {
$scriptList += "`n"
$extraDoc = Get-Content "doc/$baseName.md"
$extraDoc = Get-Content "doc/$baseName.md" -Raw

# Replace relative image links with absolute links
$extraDoc = $extraDoc | % { $_ -replace '\!\[(.+)\]\((?!doc\/)(.+)\)', "![`$1](doc/`$2)" }
Expand Down

0 comments on commit c990b0c

Please sign in to comment.