Skip to content

Commit

Permalink
Don't append a CR and LF to the output, since this is rendered visibl…
Browse files Browse the repository at this point in the history
  • Loading branch information
corvansteijn authored and mapfel committed Mar 22, 2021
1 parent 3fd7782 commit eea5d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/default.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ task Compile {
$content = ($content -replace "---(.|\n)+---\n*", "")

if ($title) {
$content = "<h1>$title</h1>\r\n" + $content;
$content = "<h1>$title</h1>" + $content;
}

Add-Content -Path $outfile $content
Expand Down

0 comments on commit eea5d5b

Please sign in to comment.