Skip to content

Commit

Permalink
feat: replace cr with line break as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 13, 2024
1 parent 427d443 commit b49f1df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/pages/web-logs/[name].vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
let html = ansi_up.ansi_to_html(log);
html = html.replaceAll("\r\n", " <br/> ");
html = html.replaceAll("\n", " <br/> ");
html = html.replaceAll("\r", " <br/> ");
this.html = html;
}
}
Expand Down

0 comments on commit b49f1df

Please sign in to comment.