diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue
index 0481691be9740154a709e837d2b40a5a05eb7da2..2eb807af5adf90b56f0a194c7a5ac8857429c512 100644
--- a/src/client/components/post-form.vue
+++ b/src/client/components/post-form.vue
@@ -564,7 +564,7 @@ export default defineComponent({
 				this.posting = false;
 				os.dialog({
 					type: 'error',
-					text: err.message + '<br>' + (err as any).id,
+					text: err.message + '\n' + (err as any).id,
 				});
 			});
 		},
diff --git a/src/client/os.ts b/src/client/os.ts
index b709fe5933311b5b8ad73a8623f83d169c63af95..d26f2676d05db80843c5dc234b743b1c671939b9 100644
--- a/src/client/os.ts
+++ b/src/client/os.ts
@@ -75,7 +75,7 @@ export function apiWithDialog(
 	promiseDialog(promise, onSuccess, onFailure ? onFailure : (e) => {
 		dialog({
 			type: 'error',
-			text: e.message + '<br>' + (e as any).id,
+			text: e.message + '\n' + (e as any).id,
 		});
 	});