Skip to content

Node.js based forum software built for the modern web

fix: double escape issue, body is escaped in composer-default

Barış Soner Uşaklı6ae0d207a727
diff --git a/public/src/modules/quickreply.js b/public/src/modules/quickreply.js
index b63dabcacb..d4f59bea51 100644
--- a/public/src/modules/quickreply.js
+++ b/public/src/modules/quickreply.js
@@ -115,7 +115,7 @@ define('quickreply', [
composer.newReply({
tid: ajaxify.data.tid,
title: ajaxify.data.title,
- body: utils.escapeHTML(textEl.val()),
+ body: textEl.val(),
});
textEl.val('');
});