diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue
index 0481691be..2eb807af5 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 b709fe593..d26f2676d 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,
 		});
 	});