diff --git a/src/mfm/html.ts b/src/mfm/html.ts
index c11bd55cf4..c53542ac8f 100644
--- a/src/mfm/html.ts
+++ b/src/mfm/html.ts
@@ -80,12 +80,12 @@ const handlers: { [key: string]: (window: any, token: any, mentionedRemoteUsers:
 	},
 
 	text({ document }, { content }) {
-		for (const text of content.split('\n')) {
-			const node = document.createTextNode(text);
-			document.body.appendChild(node);
-
-			const br = document.createElement('br');
-			document.body.appendChild(br);
+		const t = content.split('\n')
+		for (let i = 0; i < t.length; i++) {
+			document.body.appendChild(document.createTextNode(t[i]));
+			if (i != t.length - 1) {
+				document.body.appendChild(document.createElement('br'));
+			}
 		}
 	},