From 5c440f9ae770ef8eb6e01fea94b7f4352f92a442 Mon Sep 17 00:00:00 2001
From: echicken <>
Date: Wed, 13 Mar 2013 17:27:07 +0000
Subject: [PATCH] Pass the body text of a posted message through lfexpand
 before saving it.

---
 web/root/ecwebv3/forum-async.ssjs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/root/ecwebv3/forum-async.ssjs b/web/root/ecwebv3/forum-async.ssjs
index 9f2bd4fa0b..e4f65cb0bd 100644
--- a/web/root/ecwebv3/forum-async.ssjs
+++ b/web/root/ecwebv3/forum-async.ssjs
@@ -11,7 +11,7 @@ if(http_request.query.hasOwnProperty('postmessage')) {
 		http_request.query.to,
 		http_request.query.from,
 		http_request.query.subject,
-		http_request.query.body
+		lfexpand(http_request.query.body)
 	);
 	if(!x)
 		print("An error was encountered.  Your message was not posted.");
-- 
GitLab