Fix #6142
This commit is contained in:
parent
7ed7e82637
commit
e095a2ab43
@ -28,6 +28,7 @@ func convert_text(text string, cols int) string {
|
|||||||
for s1.Scan() {
|
for s1.Scan() {
|
||||||
full_line := s1.Text()
|
full_line := s1.Text()
|
||||||
if full_line == "" {
|
if full_line == "" {
|
||||||
|
lines = append(lines, empty_line)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if strings.TrimRight(full_line, "\r") == "" {
|
if strings.TrimRight(full_line, "\r") == "" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user