diff --git a/src/plugins/helpers.ts b/src/plugins/helpers.ts
index 719408ce8..c0be39dab 100644
--- a/src/plugins/helpers.ts
+++ b/src/plugins/helpers.ts
@@ -72,11 +72,11 @@ export function formatConsoleMessage(message: string): string {
message = message.replace(/\n\/\/ /g, '\n')
// remove echo
message = message.replace(/^echo:/g, '')
- message = message.replace(/^echo: /g, '')
// replace linebreaks with html
message = message.replace('\n// ', '
')
message = message.replace(/\r\n|\r|\n/g, '
')
- return message
+
+ return message.trim()
}
export const convertName = (name: string): string => {