File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,15 +125,15 @@ function Convert-ImageToASCIIArt {
125125 }
126126 }
127127
128- Write-Verbose - Message " Replacing characters from ASCII art, Removing empty lines from beginning and end"
128+ Write-Verbose - Message " Replacing characters from ASCII art" # , Removing empty lines from beginning and end"
129129
130130 $asciiChars = $asciiChars -replace " [{0}-{1}]" -f $minCharIndex , $maxCharIndex , $contrastChars
131131
132132 # Remove blank lines from the start of the text
133- $asciiChars = $asciiChars -replace " (?m)^\s*`r ?`n " , " "
133+ # $asciiChars = $asciiChars -replace "(?m)^\s*`r?`n", ""
134134
135135 # Remove blank lines from the end of the text
136- $asciiChars = $asciiChars -replace " `r ?`n \s*$" , " "
136+ # $asciiChars = $asciiChars -replace "`r?`n\s*$", ""
137137
138138 # Output the ASCII art.
139139 Write-Verbose - Message " Outputting the ASCII art"
You can’t perform that action at this time.
0 commit comments